Start moving to full validation in users

Catching our own exceptions instead of mongodb's ones
Start moving to full validation in helpers
Test _parse_query_parts
Test _validate_query_item
Start testing _validate_query
Implement _validate_query_item
code style
Add comments
Test _validate_query
Code style