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

Remove call to session commit method