#11 add default value of message_type to 'R'

http://code.google.com/p/xe-core/issues/detail?id=3569
https://github.com/NuriCms/core/issues/11