add hs.application.watcher to watch application events
fix minor things in hs.application.watcher
Merge pull request #158 from mgee/master

add hs.application.watcher to watch application events