Support for starting/stopping application from linux command line using mono-service.exe

Allows user to start application using mono-service.exe and have proper start/stop behavior.