[SD-1066] Added aggregations, the new facets
[SD-1066] Added aggregations, the new facets
[SD-1066] fix the category facet
feat(search): let client specify doc types

SD-1057
[SD-1066] add aggregates/facets to user content response
fix(subjectcodes): use qcode instead of code
[SD-1066] add remove facets they are now replaced by aggregates
[SD-945] Improvements:
                        1. Reusing the variables instead of asking the dict() again.
                        2. Refactored few lines to a function().
                        3. Adding a behave test for testing Metadata
                        4. Anpa Category has to be dict type, not string
[SD-1051] Second Issue is fixed
Merge pull request #352 from petrjasek/fix-subjects

fix(subjectcodes): use qcode instead of code
Remove duplicated abstract field, merge issue.
[SD-668] Adding needs_activation to False for AD users and refactored the repetitive code to a function
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'remotes/upstream/master'

Conflicts:
	apps/content.py
	requirements.txt
fix flake errors
fix(requirements): update eve-elastic to 0.1.22
feat(search): set explicit elastic mapping for content

SD-1064
fix(mapping): fix genre ingest to match schema

SD-945
fix(backend): make sure we change etag on update

otherwise browser can use cached version of an item
which will appear as locked even after unlocking it

SD-1084
[SD-1066] Added aggregate for urgency