Refactor Imgur plugin

The Imgur plugin now interacts with the Imgur API using HTTPS
Merge pull request #115 from bugsduggan/issue/111

Refactor Imgur plugin