QtScript support for semantics

- added QtScript support for semantics definition
- block diagram semantics example with clike, python and qtscript languages
- small fixes