Refactors platform specific code into separate files (*_linux.go / *_windows.go / *_others.go) Adds unit tests for the pluginwatcher changes.