Refactored renderer parameter initialization a little and added ability to configure the default template extension via parameter "default_extension", closes #519