Relax the test for a configured CachedLoader. Fixes #493.

Instead of using inheritance checks, just check for the presence of a loader attribute.
This means it should work with things such as pyjade.ext.django.Loader.
Merge pull request #498 from mikebryant/wip-493

Relax the test for a configured CachedLoader. Fixes #493.