Feature nested query

Basic nested criteria implementation. Query given to the Criteria is not yet controlled by Criteria himself.