Changing exit to proper OOP style.
Adding call to DbUpdate::newPatches() in runHooks.php, but commenting it out.
Reordering method in nzedb\utility\Utility.
Changing Sites to use Settings for creating nZEDb_COVERS constant, so that it only occurs in one place.
Refactoring Settings code to simplify getting a setting when a simple setting name is requested.
Creating new method to get the commit number, and refactoring to use Settings instead of Site.
Removing unnecessary message and escaping '+' in regex.
Making DbUpdate::newPatches() add the patches to git staging on success.
Fixing some references to $this->table.
Adding missing parentheses to db->table calls in Sites.
Enabling patch checks to pre-commit hook.
Merge pull request #583 from nZEDb/dev

Dev