Add debugging for issues 21013 and 21014

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41459 260f80e4-7a28-3924-810f-c04153c831b5
Fix access semantics for foreach loops.

In a statement like:

  for (x in ...) { ... }

"x" needs to be considered to be in setter context, not getter
context.

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41460 260f80e4-7a28-3924-810f-c04153c831b5
Fix deprecation warnings in analyzer and analysis server.

R=brianwilkerson@google.com, danrubel@google.com

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

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