Fix too small login/register link width
Comment out social login fields
Split login url into user/login and user/register

Move /login/done to /user
Split /login to /user/login and /user/register
Update oauth/authorize redirect if not logged in
Fix wrong naming of login header view
Theme login and register views

Rough theming of login and register.
Not reusing header and footer, just hardcoding many things. But it
works and looks
better than before.
Make koauth access_lifetime configurable, and increase to 1 day.
Theme authorize view
Remove #login and #register from the JS UI
Remove duplicate deployment name on small screen sizes.
Styling improvements to login/logout

Style log out button
Hide bottom and right borders on login form
Move authorize/cancel button styles to using mixins and custom classes.
Make auth/cancel button sit on same line
Add icons to scope list
Change auth/cancel button labels
Remove doubled deployment name on mobile screen size (authorize view)
Split views into layout/header/footer/content.

Add Layout controller and layout/header/footer templates.
Remove header/footer from existing templates.
Make User controller extend Layout.
Copy some layout handling to OAuth controller
Add SYSPATH check to all views
Better error messages

Wrap errors in a layout template with header and footer.
Drastically cut down the 404 error
Leaving the default error message pretty much as is, to style later.
Better error handling on user login/register

Catch login errors and pass them to the form template
Pass registration error to the form template.
Populate form with values used on previous submission.
Fix json errors getting wrapped in HTML

Disable layout template for API errors
Merge pull request #154 from ushahidi/ui-login-user-handling

Theme user login and register screens