Set the search directories so partials can be found

First search dir is the dir containing the specified template. Second search dir is the package dir.
Merge pull request #1 from pib/master

Set the search directories so partials can be found