netwatch: add simple start/stop eunit test
netwatch: add support for Mac OS X

Tested on OS X 10.9.1.