First pass of an update system, uses the difference between the version obtained from app/Controller/AppController.php and a local database.version file to see which update scripts it should execute.
Needs testing with actual HMS data and an actual update script.
database.version is now read from and written to the database (shockingly).
Added the hms_meta schema to create the needed table.
Removed the seperate 'populate database' option, rolled that in to create.
The settings array in setup.php is now a member function.
Refactored how getting database connections and exequting SQL statements works.
Updateing the mailing list now creates the mailing list tables if needed.
Fixed up some issues with the update code-path.
Update scripts for v0.3.1 and x0.3.2 complete.
Update still needs more testing but seems functional.
Merge branch 'master' of https://github.com/NottingHack/hms
Merge branch 'master' into membervoice