[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 
Thats why I asked. I'm not sure myself it it's worth the hassle. 
Let's merge this as it is, and we will re-discuss this if someone creates an issue about this.