DATAMONGO-1068 - Fix getCritieriaObject returns empty DBO when no key defined.

We now check for the presence of a Critieria key.

Original pull request: #232.