Queries with partion keys will be accepted. 

This fixes issue #37 and issue #50
Missing support for User defined types and collections also.