Add pid_file to resource
Set pidfile in config if pid_file attribute is set

Issue TA111
Merge pull request #19 from claco/support-pidfile

Merged automatically by jenkins after successful build test