resolves #804 rewrite extensions to support extension instances

- class names, class instances and blocks are supported for every kind of extension
- also add -r flag to cli for loading custom libraries
- add convenience methods on extesion processor for creating various nodes
- ...