Added DB init logic

For system testing and above (where we are using a real database rather
than h2), we need to have logic to setup the database tables. This is
done with an SQL direct activity called from an OnStartup process