Fixed xliff dumping

Linked to issue #67
https://github.com/willdurand/BazingaExposeTranslationBundle/issues/67
Fix the branch alias version
Removes duplicates from dumped translation messages

`array_merge_recursive` combines values of duplicate array keys into arrays (`array_merge_recursive(array('test' => 1), array('test' => 2))` becomes `array('test' => array(1, 2))` which causes duplicate translation messages. This fix is copied from the controller which fixes the same issue.
replaced calls to  with  to produce flat message arrays
Merge pull request #70 from elnur/branch-alias

Fix the branch alias version
Merge pull request #71 from hardchor/patch-1

Removes duplicates from dumped translation messages
Merge pull request #68 from alex-pex/patch-1

Fixed xliff dumping
Fix #62
Fixed Translator when multiple locale are loaded with dumped JS