Tidy up API for listing threads.
Travis CI script updates CocoaPods before running.