Add sinon for testing.
Move get_unread_count from a view to the feeds model.