fix leaking globals
passport-ldap no longer leaks globals
xpath.js no longer leaks globals
clean up review issues
Merge branch 'oaemaster' into avocet-master-merge
Fixed memleak error
Merge pull request #42 from Coenego/avocet-master-merge

Avocet master merge