redirect: adding for new tutorials
Rewrote and corrected how tag ranges are handled

After looking into the code and discussing with Richard and Oz.

Signed-off-by: Sam Kleinman <samk@10gen.com>