Allow Regexes in blockTypes, convenience functions.

- Allow using regexes in AllowedBlocks confugiration files.
- Add convenience Methods to FunctionBlockSecurityDecorator, so as to
  avoid calling getRealBlock unnecessarily whenever possible and bundle
  code that accesses it in one place. Also convenience.