Fix broken UI for login and register error messages
Merge pull request #177 from ushahidi/login-ui-error-msg-bug-fix

Fix broken UI for login and register error messages
Merge branch 'master' into cloud
Adding KO3-Event module

Cherry picked commit from Robbie.
Working db switching based on hostname. Instruction.

Works as is.