Various fixes for iOS

- maintain the UIView root when a page is being rebuilt
- hopefully removed a weird race condition when a page is being shown
- removed some random memory leaks
- prevent retain cycle when registering self as outcomeListener