Add deployments api

This pull adds support for the preview version of the [Deployments API](https://developer.github.com/v3/repos/deployments/).