Implements a login feature in nuxeo-core-api module which provide login context to unit tests. The feature will leverage a java annotation to retrieve the user to log in the framework.
CoreFeature should leverage this feature in order to get the user logged in framework.
The repository initialisation will still be done as administrator.
We need to enhance Framework and CoreInstance APIs to allow throwable function usage.