Update composer.json

Updated symfony yaml requirement to use the composer about (~) operator, since 2.5.5 is the latest stable.

All phpunit tests still pass after the change.