Merge pull request #6 from deztructor/next

[cutes] implementation suitable for any js engine
[js] lint check fix: missed var declaration

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[actor] porting to use engine-independent code

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[env] return error on c++ exception, no throw yet

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[cutes] basic js ripl

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[cutes] globals() to get global object and expose eval()

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[actor] quit all actor threads on cutes.exit()

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
repl: endl on exit

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[make] shared library versioning

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[cutes] exposed cutes.mkVariadic()

Initial purpose is to convert native function accepting array to
variadic js function

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
separating mkVariadic to implementation and function exposed to js

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
moving c++ extensibility support code to the cutes library

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[devel] cutes-devel package to develop cutes extension libraries

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
Env.addGlobal() to add object as global

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
some code cleanup

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[interface] expose environment to be embeddable

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
rpm: shared library is versioned

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
rpm: correct packaging of libraries

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[cutes] Qt 5.1 does not have QCommandLineParser

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
no need in Env::event() (and harmful)

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