[env] global js readline() function

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

Can be enabled by setting CUTES_TRACE environment variable to non-zero

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