More complete synch code (Dropbox <-> local HTML5 web SQL)

'online' replaces 'wasOffline' to indicate that Dropbox has become available during the offline running of the program.

The online/offline event handler is the way that 'online' is changed.  It is not reset other than by changing songs.
Merge pull request #9 from johncc47/master

More complete synch code