Resolve most of the nagging dart2js warnings during `grind deploy`

TBR

This PR is a no-op in terms of functionality: it just moves things around and cleans things up to eliminate all but one dart2js warnings. The one remaining is about missing `polymer.html` import in `cannot_launch.html`, which we can't do anything about.