Moving towards the preview environment.

Seperated database creation from startup / environment.
Seperated database migration from startup / environment.

This allows these to be run seperately in the preview environment
Added run.sh to maintain compatibility with old dev environment.
Renamed files to be more consistent with other shell script names
Ensure we set APP_ROOT