Revamped template tags to use django shortcuts.
Also added check for whether version_suffix is in VERSIONS back in.