Reorganized InlineRuntime: now use cppgen=contents (instead of non-working functions). Switched runtime to using C++.