Small cleanups
Added tests for explain
Add support for has_child / has_parent queries and filters.