[api] Do not create a PID file unless explicitely told to
Merge pull request #4 from opsmezzo/pidfile

[api] Do not create a PID file unless explicitely told to