Added test and proposed fix for simple loader

Currently, the docs state that you can write a simple loader by presenting an object that implements getSource() only (http://jlongster.github.io/nunjucks/api.html#writing-a-loader).

Doing so will currently fail, as the caching code attempts to call on() on all loaders.