Add rotation and double tap to zoom in or out.

Implemented UIViewControllerAnimatedTransitioning and
UIViewControllerTransitioningDelegate protocols in a different object to
avoid a memory leak.