ios8-related testsuite updates + fixes
refactor jumbled methods into new simulator.js and xcode.js
and add support for cleaning safari files on ios8