Merge pull request #220 from dimagi/faster-lazy-attachments

make lazy attachments save in a single couch request