Prevent multiple instances of daemon

When started from configuration scripts like upstart, we can't
launch two instances, but when started from command line, multiple
thermald instance can run. This change prevents multiple instances.
Merge pull request #34 from 01org/development_0

Prevent multiple instances of daemon