Fix status command, when pid file is present

The current status command does not work, when socat terminates
and leaves the pid file present.
In addition the status command is not LSB compliant. see:
http://clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ap-lsb.html
Merge pull request #1 from CygnusNetworks/master

Fix status command, when pid file is present