Updated mac install script

* follows files in a loop
* sets proper ownership of executable and plist
* unloads plist from launchd
* minor refactoring