Remove AbstractAttachmentController subtypes

Instead create more registry objects and dynamically configure the controller
according to the document type coming in from the params.