Move threaded work funcs in oscam-work.{c,h}

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8258 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Convert actions from defines to enum.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8259 4b0bc96b-bc66-0410-9d44-ebda105a78c1
bulcrypt: Use reader->client as client when reloading card info.

reader->client is really cur_client() in that case but using
reader->client is the way videoguard reader calls add_job() and
also we don't need to include oscam-client.h in bulcrypt reader.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8260 4b0bc96b-bc66-0410-9d44-ebda105a78c1
logging: Log pid when using syslog.

When more than one oscam is run, it is impossible to differentiate
syslog messages without using the pid.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8261 4b0bc96b-bc66-0410-9d44-ebda105a78c1