Add optional spinner between page transitions

This is invoked by setting window.showSpinner = true on
the index.html page.

This will be used in the Android version of the app, which
currently has very slow page transitions.
Merge branch 'refs/heads/master' into app-african-lions