Fix finding templates.

We should not be directly using INSTALLED_APPS anymore in Django 1.7.

Change-Id: I6ab92d0bd92c44d9ec3614166bc6b2354bea2165