Improves the testing coverage of JDatabaseQuery and JDatabaseQueryElement.
Updated docblocks with example usage.
Fixed a bug in JDatabaseQuery::escape where is was not actually returning anything.
Moved tests up one level in the tree.
Added new JDatabaseQuery::dump method that provides a simple way to
output an HTML string of the current query object.
Added mock escape method to the universal database mock class.
Fix bug in JDatabaseQuery::escape (no return value).
Removed mock escape (needs to be done by the test otherwise it can't be
Update Docblocks with usage suggestions.
Fix up dateFormat so that it is a proxy for JDatabase::getDateFormat.
Move tests for JDatabaseQuery and JDatabaseQueryElement
Add return value for getDateFormat in JDatabaseMock.
Add test for JDatabaseQueryElement::getElements.
Improve code coverage of __toString
Total Tests: 1496
Test Time: 187.404093