Updated JSMongoQuery

Signed-off-by: Nick Brook <nick.brook@ratemyplacement.co.uk>
Merge branch 'master' of github.com:Akkroo/JSMongoQuery

Signed-off-by: Nick Brook <nick@rmpenterprise.co.uk>

Conflicts:
	lib/JSMongoQuery.js
replaced substr with php shim

Signed-off-by: Nick Brook <nick@rmpenterprise.co.uk>
Fix for last commit

Signed-off-by: Nick Brook <nick@rmpenterprise.co.uk>
reformat

Signed-off-by: Nick Brook <nick@rmpenterprise.co.uk>
Fixes ported from PHP

Signed-off-by: Nick Brook <nick.brook@ratemyplacement.co.uk>
Merge branch 'refs/heads/develop'
Add repository to package.json
Update documentation
Remove $ from method parameters in documentation