Merge pull request #2617 from sebv/master

Fixed more ios tests
Check exists before read file
Merge pull request #2619 from bootstraponline/read_file_fix

Check exists before read file
refactored/fixed uicatalog/gestures tests