implemented common view for post's json representation (server)

get_history_msg uses this to save bandwidth
Merge pull request #64 from NoyaInRain/fix-history-transfer

fix history transfer