Feature/query integration rethink

This PR starts us in the direction of supporting WP_Date_Query and WP_Meta_Query.