Fix rake tasks that try to reference logger

Tasks defined outside of the Rakefile did not have access to the ``logger``
local variable defined in the Rakefile, so would error when they tried to use it.

For reasons I don't understand, methods defined in the Rakefile are accessible to tasks defined in other files.

Supersedes https://github.com/alphagov/rummager/pull/93