Added new get_range templatetag to help with loops in templates.