Fix upload collection field

Related to the: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/issues/512

But this fix is only for upload collection widget. There is still problem with the SingleUploadWigdet.