Various improvements to the build scripts.
- Added support for the faster, PowerShell based script runner.
- Tightened up the error handling in the scripts.
- Added support for using a custom database name.