workaround for IE10 and IE11 support of FormData
unified way of creating FormData and fixed IE issues with uploads
CR changes: renamed the function
CR changes: rename the function also in unit tests ;)
Merge pull request #4942 from Wikia/MWEB-974

MWEB-974 Fix for uploading images with FormData in Wikia Maps