[lib] Use message specs when creating message info from raw
Test Plan: Log out, log in, open a thread with couple of message types and verify that they are displayed correctly.
Reviewers: ashoat
Reviewed By: ashoat
Subscribers: KatPo, zrebcu411, Adrian, atul, subnub
Differential Revision: https://phabricator.ashoat.com/D634