Merge pull request #15 from uncanny-piranha/develop

Added proper error statuses/messages and cleaned up code
fixed error handling
switched messages endpoint
switched to new firebase db
sets unread count to 1 (true)