test noSuchWindow
close() window for mobile safari iphone
tests for close() for ipad too
fixing weird multi-callback and object cleanup issues
Merge pull request #311 from jlipps/master

window close() and various fixes