Appropriately set contentInset of resultsTable when keyboard is show

Shamelessly copied form http://stackoverflow.com/a/2995789/659310