added containedIn and notContainedIn query options

Added basic functionality and tests for contained in and not contained in queries