Add pid_file to resource

Set pidfile in config if pid_file attribute is set

Issue TA111