[SD-715]: Command was ignoring username
[SD-714] [SD-718] [SD-715]: Refactored ADAuth to a Class and handling the exception raised by LDAP
[SD-714] [SD-718]: Disabling the ResetPassword endpoint if Authentication via AD is enabled
[SD-714] [SD-718]: app initialization fails because of superdesk.isLDAP(). This is fixed.
[SD-716]: Fixing UserTestCase as CreateUserCommand will fail when superdesk.is_ldap returns true
[SD-716]: Did some changes so as to pass the behave tests.