[SD-1066] Added aggregations, the new facets
[SD-1066] Added aggregations, the new facets
[SD-1066] fix the category facet
[SD-1066] add aggregates/facets to user content response
[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
[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
Merge pull request #358 from petrjasek/fix-lock

fix(backend): make sure we change etag on update
fix(unspike): send content to default stage

SD-1102
fix(newsml1.2): fix genre parsing to match schema

SD-945
Merge pull request #356 from superdesk/feat-search

search feature