Backfilled UIViewController+Spec specs; Added UINavigationController dismissals

Added support for dismissing properly if a child controller is ask to dismiss inside of a modal UINavigationController.

We also refactored the code slightly to avoid using the pragmas to ignore deprecation warnings.