[python] add onScanStarted/onScanFinished and deprecate onDatabaseScanStarted/onDatabaseUpdated
Merge pull request #4744 from tamland/onscan-rename

Python API. Rename onDatabaseUpdated and onDatabaseScanStarted