Disable actions in the Files view menu that are not allowed for pub cache projects.

R=danrubel@google.com
BUG=

Review URL: https://codereview.chromium.org//654773003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41219 260f80e4-7a28-3924-810f-c04153c831b5
Mac no longer fire bogus events. Fix Mac watcher.

This is a re-apply of r37162.

BUG=
R=nweiz@google.com

Review URL: https://codereview.chromium.org//621813002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41220 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Mac no longer fire bogus events. Fix Mac watcher."

BUG=

Review URL: https://codereview.chromium.org//670653003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41221 260f80e4-7a28-3924-810f-c04153c831b5