BF: fixed OSX iohub process close issue

OSX:
- fixed root issue why iohub process never would close properly.
- changed code that checks for old iohub process and kills it if it
exists when a new iohub instance starts. (Jeremy Gray)