Add LDAP over SSL support

Hi, we're trying out gogs in our department at my company, as a web-ui for git and needed to add LDAP over SSL support. I tried to meld this change into a form that could be merged back into master.