First automatic redirect - infrastructure is now in place

The code generated is a bit broken (<meta> in the body), and this isn't the W3C-sanctioned way of creating redirects, but it works.