Final set of compile fixes for the REST interface generator (for changes of #189).

Everything compiles now on stock DMD 2.061, including sub interfaces.