Start routine now checks for live pid, and removes stale pidfiles if pid is not live.
Stop action now checks for stale pid in pidfile.
Merge branch 'issue-147'

Fixes #147.