Moved gesture logic that determines when keyboard should resign to a separate (abstract) class (SATableViewController).