Added support for on_loaded callback to StandaloneMigrations plus tests for the callback functionality.