Adds method for getting all attachments for a document as DocumentFiles.

Changes serialization format for Date objects to include milliseconds. Non-millisecond date deserialization is still supported as a legacy format.
Adds REST-based tests for file-related methods in RemotePipeline.