Implement new Releases API

Implements the [new Releases API preview][blog].

[blog]: https://github.com/blog/1645-releases-api-preview