Initial database code conversion.
Merge branch 'refs/heads/convert_to_illuminate'

Conflicts:
	admin.php
	database_admin/checkdatabase_distinct_signup.php
	database_admin/show-all-databases.php
Fix database errors from merge.
Merge branch 'master' of https://github.com/ghindle/connectedmedia