Add "create release" endpoint to api.js
What does this MR do?
Updates our JavaScript API wrapper (api.js) to include a method that creates a new release (POST /projects/:id/releases).
In addition, this MR adds some tests that were missing for other release-related endpoints in this file.
Edited by Nathan Friend