Added restricted networks to the backend and webfrontend

This merge contains:
- authentification flags for restricted_networks
- restricted flags for external networks
- authentification check for restricted networks
- changes in the editor for restricted networks
- Moved functionality to hide restricted Templates/Networks/Profiles to the stores
- Added a restricted symbol to the external_network list

Closes #788
Closes #636