Return a 400 response on pymongo DuplicateKeyError
Merge branch 'mongo_duplicate_key_errors' of github.com:boosh/eve into boosh-mongo_duplicate_key_errors
Changelog: 400s on pymongo DuplicateKeyError.
boosh
Merge branch 'boosh-mongo_duplicate_key_errors' into develop
typo
Fixes #284.

If you have a media field, and set datasource projection to 0 for that
field, the media will not be deleted.
'boosh' on changelog too, for coherence.
Fixes problems with flake8 due to pep8 update
Make codebase compliant with latest PEP8 release.
Merge branch 'graffic-pep8' into develop
Remove superfluous commented code.
Merge branch 'graffic-pep8' into develop
same signature for all http methods
Dynanic lookup filters.

on_pre_METHOD hooks now expose a 'lookup' argument, allowing for dynamic
editing of the lookup query for both resource and item endpoints.

Closes #279.
Merge branch 'customize_lookup' into develop
Fix #302

Initializes gh_params and rh_params as empty lists in methods/common.py and
changes assertHead() in tests/methods/get.py to use passed argument, url. Fixes bug
where a HEAD request on a resource or item resulted in a server error.
Revert "Fix #302"

This reverts commit 7c3eee944c0b60a86be7b491b446e9bb9f2e3939.
Fix #302

Initializes gh_params and rh_params as empty lists in methods/common.py and
changes assertHead() in tests/methods/get.py to use passed argument, url. Fixes bug
where a HEAD request on a resource or item resulted in a server error.