Fixed error handling, added tests

 - Error handling of http response codes
 - Added basic tests for games, ingests, search, teams and videos
 - Updated response types and functions to reflect upstream Twitch API changes
Merge pull request #4 from rojters/bugfix/error_handling

Fixed error handling, added tests