refactor upstart export

I needed to create a custom template to support an older version of upstart where `setuid` is not supported. This tiny refactor makes it easier to inherit from `Foreman::Export::Upstart` and override the methods `master_template` to `process_master_template` and `process_template` to provide a customized export.