Fix runtime controller and add test coverage (fixes #1033)

Also, some minor cleanup
Change DiagnosticsDumpTests to look for Node version 0.8.2
Add instrumentation to GetValuesLegacy() to help track failure
fixes for firefox long strings and autocomplete
Fixes #863 race condition between stdout and stderr
Merge branch 'consolebugs2' into consolebugs