Uber code cleanup
Initial untested implementation of DatabaseHelper

DatabaseHelper will hopefully take over all the manual managed SQL
Database Helper and SQL rewrite-ish

* Add parameter support to DBHelper
* Replace all the SQL in Server to use the helper.. my gosh!
* Let's never do that much SQL ever again
Missed a few there

Update more syntax to new Database system.
Note: Still not tested!
That's embarissing
Too tired for this nonsense
Who derped! D is GUID format
Add regions, pooling enum and more comments
Add dbdiag command and Database diagnostics

Also fix NPE bug
Fix String format order

That was why my averages were wrong
Merge pull request #718 from nevercast/feature-databasehelper

Feature: Database Helper & Code Cleanup