Address debug mode integration failures.
In which I promote assert()s to runtime_assert()s to make long-standing
errors more noticable.
Also, reenable compilation of an application that somehow got disabled.
Integration test changes expected for those tests currently failing in
debug mode.