Refactor criteria parse in Query
merge support for sort by id; remove unused code
fix NOT expression
remove it.only
add more tests
should accept `$ne` selector without turning string value to a RegExp
Merge pull request #157 from clarkorz/refactor-criteria-parse

Rewrite `lib/query.index.js` with more structural code