Initial feature to cover consultation response
Adding explicit date for consultation response

This commit adds the ability to choose a published date for the
consultation response. Previously the system was relying on the
attachment creation date for the published date, which will break
imports of old consultations as well as being too much inference.

The new published date does not affect the visibility of the response -
it's only descriptive. This means that if the date is in the future,
a response attached to a published consultation edition will still be
visible to the public.

I don't particularly like the way the the published date pollutes the
attachment partial, but after chatting with Tom we agreed this needed an
overhaul soon anyway and following the existing local variable approach
was acceptable for now.

Also included bonus cucumber scenario for adding a response to a
consultation.
Merge pull request #49 from alphagov/explicit-field-for-published-consultation-response-date

Explicit field for published consultation response date
Show policy topics in the activity view.
This data migration has the wrong timestamp.

Although it has already been run in preview, it has not yet been run in
production. An in any case, I believe it is safe to run multiple times,
since it has already effectively been run multiple times in the guise of
`20121017063800_fix_dft_minister_role_appointments.rb` and
`20121710152500_really_fix_dft_minister_role_appointments.rb`.

Fixing the timestamp will mean that this data migration will run again
in preview, but that it will only run once in production.

See comments on this commit [1].

[1] 71f145ae7be4a2eff74790840d81b2c320208624
Remove reverted detailed guides from search index.

The `20121008103408_revert_detailed_guides_to_draft.rb` data migration
neglected to remove the no-longer-published detailed guides from the
search index.

This data migration runs through all the same detailed guides and
removes them from the search index if they are still not published.

The later `20121011121600_revert_detailed_guides_to_draft.rb` data
migration did remove the no-longer-published detailed guides from the
search index so there is no need to add a fix for it.
Bump govuk_frontend_toolkit
Remove trailing whitespace.

This may seem trivial, but it makes viewing git diffs much easier.
Disable content negotiation via the Accept header.

For more info why we're doing this, ask Tom.
Add extra organisation corporate information page types.

Some of the requested page type titles include the organisation acronym.
I've tweaked the CorporateInformationPageType slightly to make this
possible, but since an organisation doesn't currently have to have an
ancronym, I've chosen to fallback to the organisation name.

See pivotal story [1].

[1] https://www.pivotaltracker.com/story/show/36546661
Update wording on organisation show page.
Fix organisations associated with DFT speeches.

@bradleywright and I fixed a bug in [1] whereby when a speech's role
appointment was changed, it's associated organisations were not updated
to match.

Running a data migration [2] was supposed to then fix all the speeches
which had had their role appointments updated.

However, running that data migration only saved speeches whose role
appointment at publication time was different from their assigned role
appointment. Since a very similar data migration [3] had been run not
long ago, this meant that not many of the affected speeches were saved
again. Consequently their organisation associations were not fixed.

This data migration simply goes through all the speeches in the original
list and saves them. Together with the bug fix in [1], this should
ensure all the speeches end up associated to the organisation(s)
relating to their role appointments.

[1] d0e5b4e091511d3221d3ce7bd9862f6793c29a51
[2] 71f145ae7be4a2eff74790840d81b2c320208624
tweaks to admin UI
Allow overriding of asset_host in staging

Other apps seem to be loading the initializer and overriding the value
of asset_host correctly, but in whitehall the value set in the
initializer doesn't seem to over-write the value set in the the
production.rb. We couldn't work out why.

Secondly, it's important that the Whitehall.asset_host returns the
correct thing.

This solution is a bit hacky, but was the best I could think of for now.
The initializer should override the ENV var value, and that will be read
later in the initialization process.
Ensure back button works on document filters.

I inadvertently broke this when disabling content negotiation. Sorry
Remove extra header from policy activity

This was removed from the other pages but left here. As its no longer
used anywhere deleting the partial also.
Enable a person to be a privy counsellor

For styling reasons we require 'The Rt Hon' to be separate from the rest
of a persons title. This creates a boolean value which will add 'The Rt
Hon' to the front of a persons name when displayed.
Merge pull request #52 from alphagov/honorific

Let a person to be honorific
Merge branch 'master' into policy-count

Conflicts:
	db/schema.rb