Adapt template loaders to Django 1.4
Adapt template loaders to Django 1.4

In Django 1.4, the function-style template loading is no longer
possible, only the class-style template loading (available since
Django 1.2) is possible.

Signed-off-by: Thomas Petazzoni <a5d87d2bd7c424ee5cbdb4e978635bf653d5a005@enix.org>

hholzgra/maposmatic,maposmatic/maposmatic,maposmatic/maposmatic,hholzgra/maposmatic,hholzgra/maposmatic,hholzgra/maposmatic,maposmatic/maposmatic,hholzgra/maposmatic,maposmatic/maposmatic