moved forgot pass to basic_auth plugin
moved change_pass to basic_auth and fixed some typos with the moving of forgot pass
used template hooks instead of hardcoding basic_auth functionality into templates
fixed typo to check allow_registration not if auth is enabled
deleted misplaced template
- changed host and port to just a server uri
- added an option to connect with TLS
- unbind after when done
- fixed typo with unbinding code
- added the ability to get the user's email from the ldap server upon registration
only create a user if the register_form is from the ldap plugin
moved create account link on login page to a hook
added a create_account hook
removed unused import
Merge branch 'auth_refactor' into ldap

Conflicts:
	mediagoblin/templates/mediagoblin/auth/login.html
use pluginapi.get_config
added docs for ldap plugin
typo in docs
catch a keyerror