Fix Dart Editor static analysis problems

This change fixes all of the current Dart Editor static analysis problems such as type ambiguities, deprecated interfaces, and dead code.

Checked with: Dart Editor version 1.2.0.dev_04_00 (DEV) / Dart SDK version 1.2.0-dev.4.0