Generic solution for pre/post start/stop scripts

And room for generic "extra" stuff
Merge pull request #9 from janfabry/upstart/pre_post_scripts

Generic solution for pre/post start/stop scripts