made it easier to replace the translator service with an implementation of TranslatorInterface

fixes #961
why not `$app instanceof TranslatorInterface`?