Fix debian spec.

Submitted by: fatalbanana
Add libcurl dependency.
Change RUNDIR path to /var/lib
Override pidfile setting from command line.