Add support for action sheets

Works on iOS 8 and iOS 7. Note that I branched off of the `shared/Xcode6` branch.