use https for noembed
use https (optionally) for imgur -- made an option because some firewalls ridiculously block all https.

fixes #1580 and #1581