add support for 'nested'/file queries

queries can be embedded through files which are read first from the classpath, falling back to the DistributedCache
 and Hadoop File system
add integration test for M&R, Cascading, Pig and Hive