687 http get attachment support

Add http getAttachment support.

This is also related to #689 which also depends on our decision #667 about what do we want to do with slashes in document ids.
Generally I think that getAttachment in general should be implemented as in http but in generic adapter.