Adopt STL naming convention in Message.hh
Rename OutputStream to xostream

Like xchar and xstring.
Adopt STL naming convention in Reference.hh