Prevent seemingly spurious "RangeError: Maximum call stack size exceeded."
by making the 'should' assignment a variable declaration.  This works
around a small phantomjs bug - see https://github.com/chaijs/chai/issues/107
Merge pull request #22 from SpiderOak/tiny-phantomjs-accommodation

Prevent seemingly spurious "RangeError: Maximum call stack size exceeded."
Starting the process of stripping out jqtouch
Done with CSS for the moment
Log in and devices list in menusheet
Getting closer… fixed bugs in menu button etc
Revise the login process so it respects the username that the server infers
from the login name that the user entered.

This is necessary because the server resolves disregards the case of
alphabetic characters in the given username to find the matching account
username, and then returns a login url with a b32 encoding of the actual
account username.

So we must use the returned b32 encoding to determine the actual account
username, and work with that.

It turns out that our tests uncovered a problem with our handling of the
"location:" phase of the login protocol, which is repaired here. It also
turns out that that the server never actually behaves the way those tests
do, but the API documentation (the
[https://spideroak.com/faq/questions/37/how_do_i_use_the_spideroak_web_api/ FAQ entry])
doesn't preclude it, so the routine is now dealing with it consistently.
Add a test confirming that the login procedure is properly tracking the
server's account-name case insensitivity.
Merge pull request #23 from SpiderOak/login-capitalization-reconciliation

Login capitalization reconciliation
Getting very close… needs tests badly, though.
Didn't realise the css was being .gitignored. *sigh*
Some tidy up on the styles
Anything more than this plus tests is too much for one branch (could already be argued…)
The beginning of tests
Merge pull request #24 from SpiderOak/backstack-and-custom-css

This is like a 1/3 re-write...
Wrap notification polyfills in a decent test for the absence of cordova, so
they don't override the cordova functions, which may happen after app.js is
evaluated.
Merge pull request #25 from SpiderOak/fix-notification-polyfills

Wrap notification polyfills in a decent test for the absence of cordova, so ...
Test for proper AccountManager.getStorageURL() value.
Set storageRootURL correctly, for getStorageURL().

Also, include the concluding login response data, so we can record the
webRootURL for the account.  We will eventually need to use that,
when (if?) we offer a "visit account via the web" link. (Currently, the API
can return both complete URLs, with the protocol and domain, and ones
without.  That may change soon, to only complete URLs.)
Merge pull request #26 from SpiderOak/storage_root_url

Storage root url