Added a <resource> configuration

I have a use case where a large number of templates will be used.  Rather than having to define a <template> element for each template, I've added a <resource> element.  

Four settings must be defined: fileName, templateDirectory, outputDirectory, and className.  The class defined by className must implement the new Processor interface.