adding fetch_history function, saving result to messages table
Merge branch 'hipchat-api' of https://github.com/laurentqro/talking_hands_app into hipchat-api