Add cache_key method to be used by Django 1.7
Adapt load_template to use the new cache_key method
Adapt the load_template method to the new algorithm provided by Django 1.7