Adds a parameter for the fetch method used by doctrine for the
translations.
Fixes the phpunit test.
Merge pull request #112 from bobvandevijver/fetchmode

Adds a parameter for the fetch method used by doctrine for the translations