BUG Fixed issues with table names not being correctly escaped in some query instances.
Fixed broken SQL on setting table defaults
Updated phpdoc for query constructor and function parameters. Many more instances still remain of incorrect phpdoc parameter types.