Merge pull request #18 from rafaelmagu/fix_apache_vhost

Adding conditional to Apache vhosts to prevent warnings after logrotation
Forcing string comparison to ensure check works
Merge pull request #19 from rafaelmagu/tweak_vhost_fix

Forcing string comparison to ensure check works
Allow to configure config.js template
Merge pull request #20 from kamaradclimber/configurable_template

Allow to configure config.js template
Work-around incompatibilities between versions