present correct questions for deletion of documents

I refactored the questions asked to a user in order to confirm the rake tasks for document deletion out into a  shared module. I started that when one task started asking me the questions meant for another task. Apparently, methods defined inside a rake task are not protected from methods in another rake task, so that they can overwrite one another. This is fixed along the way.