Update composer.json to allow symfony 2.3 and higher

Also improve doctrine dependencies