adding LDAP authentication mechanism (issues #44)

creates users on first login
adding option to disable signup (#44)

updating login error handling to display config error message
adding hard block for disabled signup (#44)
cleaning up some duplicate code
Merge pull request #51 from monitorjbl/ldap-integration

Ldap integration for signin