Implemented CDTRemoteAttachment

Changed the factory method of CDTDocumentRevision to ask for the URL of the document
Creates attachments from the json included from the get request. Downloads the data
when the data is asked for, or parses the Base64 encoded attachment data included with
the document get request if present.