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