Refactor Imgur plugin

The Imgur plugin now interacts with the Imgur API using HTTPS