runtime: replace 3 uses of r5js.Datum#getType with something better.
misc: clean up a dead branch in r5js.datumutil.maybeWrapResult.