#389 Added support for query of Array elements within documents
#389 fixed failing test for nested queries.
Merge pull request #391 from joola/feature/#389

#389 support for query of Array elements within documents