A newly discovered type of pterodactyl had opposable thumbs that it probably used to climb trees and grasp prey.