Fixing various type hint bugs

Mainly found by Scrutinizer:

* Ambiguous use statement in Application
* Changed IO's dependency from HelperSet to the specific Helper it uses (DialogHelper)
* Added a type check to ApplicationTester
why a DI exception ? It does not make sense IMO (use the SPL one here)