Merge pull request #1709 from alphagov/disable-text-extraction

Disable the text extraction feature
Update API adapters.

So that we get partial matching for panopticon request body in the test
stubs.
Send updates to search after changing the topics

Also update tests to check that the correct topics are being sent to
panopticon after they're changed.
Move topic retagger test to integration directory

It's not a unit test, so it shouldn't live under test/unit
Merge pull request #1711 from alphagov/register-topic-changes-with-search

Register topic changes with search
Ensure UrlMaker can be found during lookup

We get occasional uninitialized constant exceptions because the
Whitehall::UrlMaker class cannot be found. This adds the class to its
parent module such that it can be found regardless of the execution path
of the code. See http://urbanautomaton.com/blog/2013/08/27/rails-autoloading-hell/
for more details about constant lookup and Rails autoload.
Merge pull request #1713 from alphagov/autoload-url-maker

Ensure UrlMaker can be found during lookup
Remove the attachment tex extraction feature

This feature is currently implemented by hooking into the virus-scanning
process to do the actual text extraction. As well as significantly
slowing down the virus scanning process, this has caused issues where
tika gets wedged, and then blocks the entire virus scanning queue.

Until we have the time to implement this feature properly, the benefit
it provides to our search index isn't worth the operational pain it's
causing us. This PR therefore removes the feature (while leaving it in
place for HTML attachments because they don't have the same external
processing requirements - we just run the body through Govspeak).