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/pkg/http@25831 260f80e4-7a28-3924-810f-c04153c831b5
9 files changed
tree: 86bcebba8a7e03d13362e93d0f8248554d7b1d7e
  1. lib/
  2. test/
  3. pubspec.yaml