Support for silex 2.0-dev

as requested PR to develop branch with addionals