acceptance/testall: inotify support

@vohi - rebased and squashed the first two commits per your comment in [#1568](https://github.com/cfengine/core/pull/1568#issuecomment-54121978). For whatever reason Github wouldn't let me re-open the aforementioned hence the new PR.