Fixed test that didn't work on Mac Safari.
Added event cleanup teardown to UI tests.
Fixed two iOS 7.1 bugs with links/images.
Fixed a memory leak and an iOS unit test editor removal issue.