Fix Request::hasFile with an array of files
Import SplFileInfo
Add a setJsonOptions method to JsonResponse to allow changing options after creation
Fix method JSON setOptions method.
Merge. Conflicts.
Rename some interfaces for consistency.
Merge pull request #5250 from vetruvet/hasfile-array-fix

Fix Request::hasFile with an array of files
Cleaning up some code.
Merge branch '4.2'