Added QueryExecutor for retrieving JSON documents as well as some tests.
Added Mockito to dependencies.