Added Django 1.7 compatibility

Fixes so that Jingo works with Django 1.7 (alpha), but the tests would need to be updated in order to work with 1.7.