Support for silex 2.0-dev

as requested PR to develop branch with addionals
In fact, you're relying on features not available in 2.0, so you'd want `~2.5` or something similar.