small fixes

split package requirements into extras.
may do group_by to field in related model
fixed url templatetag in django 1.4 and 1.5