[Scopes] Synchronize scopes and filters (fix issue60)

3 main changes in this PR:
 1. Move `processScopes` to `commonAdmin` directory
 1. Synchronize filters and scopes (fix issue #60 )
 1. Fix multi-group scopes management (especially for generated views)

Demo repository updated to test this behavior.

PR ready to merge, waiting for your feedbacks

/cc @loostro 
Yes this is necessary so scopes are processed before filters to pre-fill filters on first access