Create Revision from JSON

- Create a document revision with attachments from a Map of <String,Objects>
- Create SavedHttpAttachment class


Only one question, If a URISyntaxException is thrown, should this be propagated back to the user, or should an IllegalArgumentException or IOException should be thrown instead?
Is this really an IOException? Maybe IllegalArgument or similar might be a better fit.