runtime: Pass debuglevel over commandstream

Not just the debugpoint itself.
lib: Throw errors in simulator if they happen inside runtime

Also add .uploadFile() convenience method.