fixed the abort issue for guest (use death test)
Very basic CFRunLoop abstraction added for iOS

need to add unit tests before implementing the functions (failure cases)