Add 'syncStarted' and 'syncFinished' events to Pica.Application

Allows implementing applications to show 'loading' states while pica is syncing to the server, e.g.

    pica.on('syncStarted', showSpinner)
    pica.on('syncFinished', hideSpinner)