add status option

add status option to the manager script, allows to be easily puppetized to check the status of the process for supervising.
Merge pull request #7 from mnikhil-git/master

add status option