Attachment controller fix

Attachment controller now correctly removes the attachment from all
related documents
Attachment -> Document relationship is now stored inside of Metadata in
GridFS