Server: move query management code into QueryManager

No functional changes yet

Conflicts:
	src/edu/washington/escience/myria/parallel/Server.java
QueryManager: remove unused function, make functions protected if we can
QueueManager: very simple query queue
skip Big*Test, they were not thought out or are broken
BigClusterTest: skip entirely

Even the setup costs are too high
RelationKey: use better defaults for PostgreSQL and SQLite

We can simply separate by ':' instead of '#' or ' '.
JdbcAccessMethod: better use of quoting identifiers
MasterCatalog: STRING is not a valid type

It is actually TEXT. See http://www.sqlite.org/datatype3.html#affname

> And the declared type of STRING has an affinity of NUMERIC, not TEXT.
MasterCatalog: fix LONG to INTEGER

http://www.sqlite.org/datatype3.html#affname
RelationKey: warn when using identifiers too long for postgresql
JdbcAccessMethod: error with quoting
Server: escape profiling queries
Merge branch 'master' into backend-dbms-fixes
QueryConstruct: remove unnecessary toString() calls
DoWhile: remove unnecessary toString() calls
RelationKey: shorter temp relation name
QueryConstruct: catch singleton bugs

See uwescience/raco#352
DatasetMetadataUpdater: do not redundantly add stored relations

Fix #622
systemtest: set overwrite flag in JSON

Also print message when queries fail
RelationWriteMetadata: when appending, do more Schema verification and keep existing workers