Added a Twig extension to make the currently selected realm/region available to Twig. Unfortunately it doesn't happen on the first request, so we'll have to fix that.