This relands flutter/flutter#33163 with a fix to the integration_ui test.
* Clean up some flutter_tools tests * Remove arbitrary retry that happens even for fundamental errors, and generally clean up _DevFSHttpWriter. * Update dependencies (requires fixes; see next commit) * Fixes for new dependencies.