feat(search): call fetch listeners for federated search

SD-1057
[SD-1066] Added aggregations, the new facets
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
[SD-1066] Added aggregations, the new facets
chore(prepopulation): Move prepopulation files on features/prepopulate_profiles
feat(packages) - add support for groups/structure
when defining a package
[SD-1066] fix the category facet
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
[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.