update lualdap to openldap 2.4 and apply Cleanups, enhancements and fixes by Matthew Wild and me pull request of mwild1 and devurandom from Github