Merge pull request #620 from trishagee/master

Moved around a chunk of tests
use bulk insert
fixed #564
update APIs to return MorphiaIterator types so close() is visible without having to cast
fixes #605
wrap iterations in try-finally to make sure we're closing the cursors
fixes #599
wait a bit longer
Refactoring: Moved query validation from Mapper into its own class
Refactoring: Fixed checkstyle
Added tests for QueryValidator - not fully extensive but better than nothing.
Fixed Checkstyle.