* ui lua integration: split common lua integration part to client level

* for future use of lua at the client side level but outside the ui
* created a split of the common lua framework and the ui specific part