Add support for custom document types
   * read from configuration file (template.[doctype].file)
Clear cache if templates have changed
    * template change <=> force rendering of all documents
    * use SHA1 based hashing to compute a checksum of the templates directory
    * use the directory granularity because templates may include other templates