Added ChromeCompleter class to common.dart.

Change windows.dart to use ChromeCompleter where appropriate.