asynchronous test for ldap connection success

adds ajaxy ldap connection and login verification before having to save and enable ldap
very rough, needs some refactoring.

issue Graylog2/graylog2-web-interface#266
Merge git://github.com/Graylog2/graylog2-web-interface into develop