BUG-15029 We can`t rename a folder in Documents SOLVED

- Error in position validate "function_exists".
- Change of position of validation in file appFolderAjax.php.
Merge pull request #2425 from marcoAntonioNina/BUG-15029

BUG-15029 We can`t rename a folder in Documents SOLVED