ISPN-4528 Genericize remaining M/R internal classes

Master only. See https://issues.jboss.org/browse/ISPN-4528 for more details. 
Ok, so I'll genericize MarshalledValue in a separate commit of this PR. What about the commit message for that commit?