pkg: analysis aided cleanup

Removed a lot of warnings and hints when opening many pkg projects in the editor

R=gram@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25831 260f80e4-7a28-3924-810f-c04153c831b5
7 files changed
tree: 5528f2d2a4b8da67273cd51a1d33041c960fbbb0
  1. lib/
  2. test/
  3. pubspec.yaml