NXP-14911 cleanup and format code
NXP-14911: Remove deprecated methods and deprecate getEntries in directory session

Removed deprecated org.nuxeo.ecm.directory.Session.commit() and org.nuxeo.ecm.directory.Session.rollback()
Deprecate org.nuxeo.ecm.directory.Session.getEntries()
NXP-14911 Remove deprecated methods and deprecate getEntries in directory session

format and cleanup code
NXP-14911 Remove deprecated methods and deprecate getEntries in directory session

Remove call to deleted session commit methods