added "TypedMessageQueue" template class, implementing an optionally bou...

...nded queue. TRIVIAL (code addition only)