Add the ability to override nginx::resource templates.

To follow the Open-Close principle which is already used in all example42 modules, the templates used in nginx::resource can now be overriden.
This modification should be completely backward compatible, but has only been lightly tested sofar.