Some initial code to add pulled attachments
More attachment pull functionality

Set sequence correctly on rev after it is pulled:
having a setter on the rev for sequence is a bit
nasty, might solve this a different way