refactor(prepareQuery): less, nesting, better error, faster
refactor(prepareQuery): less, nesting, better error, faster

- Return an Error object instead of the exception from JSON.parse
- Only run jsonQueryParser when necessary

florianholzapfel/express-restify-mongoose,xdotai/express-restify-mongoose,Ensequence/express-restify-mongoose,qlayer/express-restify-mongoose