alphagov/maslow — pull request #37 by JordanHatch (2013-11-29 14:07:19+00:00)
Title: List mainstream content for a need

**This should not be merged before the corresponding *alphagov-deployment* pull request has been merged (see below)**

These commits add a new table to the need view mode in Maslow, which lists content from the Content API for the need's id. The table lists the title, format, and a the URL of the content on GOV.UK.

If the Content API is unavailable, if it returns an error or if there are no artefacts for this need, we don't display a table at all.

This also changes the `API_CLIENT_CREDENTIALS` constant to contain separate bearer tokens for the Need API and the Content API. There's a commit in [alphagov-deployment#377](https://github.gds/gds/alphagov-deployment/pull/377) which updates the deployed initializers to this format.