create new version if the same file is uploaded again over the web interface
fix var name
fix var name
Merge pull request #2317 from owncloud/create_version_on_upload

create new version if the same file is uploaded again over the web interface