first draft of query refactory

add support for query dsl
split queries from uri/resource to separate parameter
leave backwards compatibility in place (for the time being)
use more internal encapsulation with regards to Resource and BytesArray
increase usage of BytesArray (which is more beefy in terms of functionality)
add query dsl and non-query to M&R tests
add querydsl + empty query to pig tests
add empty + querydsl queries to cascading tests
add empty + querydsl queries to hive tests
update RestQuery to wait for cluster to stabilize