Make RestHelper interface compatible with package testing
remove unused import of gopkg.in/check.v1
Merge pull request #5 from mailgun/jeremy/testutils

Make RestHelper interface compatible with package testing