add option to specify custom template directory

A simple fix for #741 to specify a custom Mustache template directory, overriding the default location.