Cleanup bad practise code
NBM-915 Upgrade to 10.3
NXP-25910 Use NuxeoPrincipal instead of Principal in most APIs