add before and after hooks + watcher test mod

- before hook goes off before anything is compiled
- after hook goes off just before finish
- both are async
- watcher test no longer appends extra space to files
- watcher test clears public when finished