Auto-detect UITableView

If the pushed or popped view controller is a UITableViewController (or has a `tableView` property), implementation of the <AMWaveTransitioning> protocol is not needed anymore. Especially if (section) header and footer views are involved, the implementation would get quite lengthy.

Refactored the code (DRY).