Formatter as a service

This replaces https://github.com/phpspec/phpspec/pull/205

I squashed the commits to clean the history (because of the refactoring of the container setup which has then be reverted). My second commit fixes a few issues I found and moves the remaining dependency to the constructor as well.