Make request.fullurl reflect the c.secure url_scheme change.
Determine c.secure status based on X-Forwarded-Proto header.

Previously, c.secure status was determined based on the domain used.
This allows for the status to vary independently of domain for greater
flexibility.

Note: it is critical that the load balancer strips any X-Forwarded-Proto
headers that may've been sent by the client.
sanitize_url: Convert unicode domain names to ascii.

Previously, unicode domain names were only checked for validity, and the
coversion was dropped. This can cause problems down the line where we expect
URL's to be ascii.
admintools: add missing stub for `bans_for_domain_parts`
Add 'allowfullscreen' attribute to expando media embeds.
Gold partner codes: track time of claim
Add param documentation for VPrintable.
Add 429 status code to VRatelimit.
Generalize strict validation error abort method.
Web frontend logging.
Catch and log errors setting local storage values.
Add missing error status code to VPrintable.
safeGet/safeSet: Don't bother if store.js is disabled.

For IE with localStorage disabled, store.js can raise exceptions if you
attempt to use it when it is "disabled" (cannot select a backend).
Report JS errors during base initialization.
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.
/stylesheet.css: Don't attempt to redirect to `None`.

Caused when a subreddit has a static stylesheet, but not a secure static
stylesheet and /r/whatever/stylesheet.css is accessed over HTTPS.
Start writing HTTPS-friendly subreddit stylesheets.

This does several things to subreddit stylesheets:
- stores them on the thumbs buckets rather than the main static bucket.
  (this was not desirable before on reddit.com due to CDN configuration)
- enforces a new restriction of custom (%%style%%) images only in
  stylesheets to make secure urls easier to resolve. existing subreddits
  are grandfathered in for now.
- writes, if possible as above, a second stylesheet that references
  subreddit images over https.

At some point in the future, the thumbs buckets should be directly accessible
on HTTPS via the same URLs which would remove the need for the second
stylesheet to be created and uploaded. The custom image rules and other changes
would still be good.
Enable fetching recommendations for multiple srs at once.

This change allows you to pass a list of srid36s and get back recommendations
for all of them at once, which is useful for multireddit suggestions.

A function that accepted a single subreddit id as an argument and memoized the
results was removed and its functionality replaced by sgm caching, which sets
multiple items in memcache at once.

A source prefix is added to the row key so multiple sets of recs can be stored
in the same column family.

Adult items are filtered unless one of the original subreddits was over_18.

Recommendations for a set of subreddits are merged and sorted by the number of
items matched. (User feedback showed that people perceive recommendations as
incorrect if they don't match the "theme" of a large multi, and recs that
match several srs in the multi instead of just one are more likely to fit the
theme, so we show those first.)