implement default behavior for the partials_loader

Implement the default behavior for the option `partials_loader` as outlined [here](https://github.com/bobthecow/mustache.php/wiki).