Move API v2 payload definitions to travis-api from travis-core

This PR adds API v2 payloads from travis-core removed in travis-ci/travis-core#369