Add Travis support.
DRY up Resource class into two main methods.
Merge pull request #12 from michaelherold/add-travis

Add Travis support
Merge pull request #11 from michaelherold/cleanup-repetition

Clean up repetition in DiscourseApi::Resource