Messages: add '--dump-messages' option.
Messages: Add last_message_id and messages_count for each chat.
Messages: added '--dump-last-messags' option
Messages: add '--dump-chat-30-messages'
Merge branch 'messages'