DRY up Resource class into two main methods.
Merge pull request #11 from michaelherold/cleanup-repetition

Clean up repetition in DiscourseApi::Resource