Replaced many \Drupal:: and function calls with injected dependencies:
The following have received significant changes:
src/Controller/PWAController.php src/Form/ConfigurationForm.php src/Manifest.php
This also adds drupal:file as a dependency in pwa.info.yml as a couple of interfaces from that core module are added to ConfigurationForm.
Closes #3240962