Present informative notifications for various kinds of login failures.
Provide substitutes for navigation.notification.alert and .confirm, in
cases where they're absent.

I tried to be careful about not stomping anything.  We can remove these if
we decide to use a more comprehensive polyfill provision for debugging.
Merge pull request #12 from SpiderOak/show-login-errors

Show login errors