feat(search): call fetch listeners for federated search

SD-1057
feat(packages) - create packages

SD-923
SD-1036
SD-927
SD-1027
SD-925
SD-1039
feat(packages) - add tests for PATCH/DELETE.
feat(packages) - add two way link for associations
feat(packages) - check for circular references and duplicated links
chore(prepopulation): Move prepopulation files on features/prepopulate_profiles
feat(packages) - add support for groups/structure
when defining a package
Merge pull request #346 from ioanpocol/master

chore(prepopulation): Move prepopulation files on features/prepopulate_p...
Merge pull request #343 from amagdas/packages

feat(packages) - create packages
feat(search): let client specify doc types

SD-1057
fix(subjectcodes): use qcode instead of code
[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