Security

Add configuration for securing templates and apps.
Added spring security configuration.

Sample configuration:

    templates:
      secured: !template
        access: [ROLE_ADMIN, ROLE_ACC1]

or to secure an entire configuration/app simply add `access: [...]` to the root of the configuration file