[emu] move system into own thread, create class to encapsulate the console
[test] tweaks to rom and test code
[vim] add .clang_complete file