Add support for manipulating action sheets and nav bars.

This work has been factored out of #222 due to Travis' difficulties in manipulating the mail compose view, allowing this work to be taken for the 1.2 timeframe.