Support for silex 2.0-dev

as requested PR to develop branch with addionals
You're missing quite a bit of whitespace here (and elsewhere). Do you mind running your code through `php-cs-fixer` to get everything straightened out?