fixes for git master dmd

rvalues and ref parameters have been tightened up, causing a handful of compilation errors. This pull fixes these.