Added console flag and gid flag for Upstart 1.4.

Refactoring Upstart 1.4 script to pull in some of the suggestions from #50.