Fixed an old doctrine-bug regarding migrations

If autocommit is set to false, the updating of the version now gets comitted.

For additional information, look here: http://www.doctrine-project.org/jira/browse/DC-1022
Merge pull request #8 from rejinka/patch-1

Fixed an old doctrine-bug regarding migrations