Use functools.update_wrapper for Django 1.6+

update_wrapper is no longer in django.utils.functional as of Django 1.6, since it has been part of the Python standard library's functools package since Python 2.5