mqueue: factor the createStream in a base class

The issue this commit tries to fix is that all subclasses of
MQTemplateProtocol have the restriction that T needs to have
no virtual tables, as a static assert in MQTemplateProtocol
checks this.

However, there is no need for such a check in the general case,
only the "use memcpy to marshal" case has this issue. So,
create MQTemplateProtocolBase to get the completely generic
createStream method, and make the other marshaller implementations
depend on it
corba: CORBA was doing an unnecessary copy in CorbaTemplateProtocol

The issue was a mismatch between RemoteChannelElement using
Late(Const)ReferenceDataSource and CorbaTemplateProtocol looking
for (Const)ReferenceDataSource. Both have been moved to the Late*
versions.

This most likely will improve performance of the CORBA transport
deregister the dataflow servant in cleanupServer
os: add a way to set the stop timeout on a per-activity basis
add missing setter for RTT::os::Thread::stopTimeout