daemonize code added and writing of pid file

daemonizing will not do anything on windows, creates a proper daemon process on linux variants

usage:
 PlexConnect.py [--logfile ./logfile.log]

how to stop it:
 type CTRL-C

Daemon version:

 PlexConnect_daemon.py [--logfile ./logfile.log] [--pidfile ./pidfile]

how to stop it:
 kill `cat ./pidfile`