redesign: all environment is implemented as object tree

this allows to run multiply script engines with provided environment
in several threads w/o race conditions. Also main thread is waiting
until actor are finished

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