Merge pull request #1720 from leechguy/refactor

[Refactor Branch] Removing SpotDb dependency from install.php
Incorrect casing
Incorrect casing
Standardize output on JSON results for pages which can only return TRUE or FALSE #1721
Incorrect class name used #1721
Incorrect usage of render() should have been template()
Typehint all Database Connection objects in the DAO layer
Remove redundant codetag and typehint the super class
Change quit() to disconnect()
Updated function declaration to reflect change in abstract base class