Bump Doctrine version constraint due to 2.5 releasse

Doctrine 2.5 is now stable.

Also, some changes were introduced to the `composer.lock` syntax as of Composer `1.0-dev (947c1fbab...)`