Make buildNotExistingFileName testable and write unittests
Fix renaming using parenthesis
Merge pull request #3959 from owncloud/buildNotExistingFileNameForView

Fix renaming using parenthesis