Fixing debian package installation/deinstallation

The `service your-app stop` command fails (returns non-zero value), when the service is already stopped. This is not  very nice in the uninstallation process. So we catch it. Same goes for installation.