basic example of qtscript usage with some visual "unit tests"

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
Actor is loading js resolving path based on qml location

Refactoring: separate Load event

TODO: need to modify logic to use class for qtscript environment
initialization to fix potential race conditions on creation of several
script engine environments and unify path handling and access to base
environment (read/write)

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
example of QtScriptActor usage

actor function is producing intermediate data while called and also
returns some result, everything is asynchronously passed to the main
UI w/o stucking it. delay is done using mutex tryLock timeout because
QThread wrapper generation is disabled in the QtScript bindings generator

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>