Prepare for new subreddit stylesheet system.

This adds the necessary URL-generation stuff so that subreddits cut over
to the new stylesheet system will be rendered properly.
subreddit images: Remove some cruft left over from the old system.

All images in the new system are guaranteed to be proper URLs by the
migration and way the new system works.
subreddit images: Make image preview in editor HTTPS friendly.