Attachments API

* Attachments code lives in AttachmentManager and
  are called by facade methods in BasicDatastore

* Basic implementation and tests for push
  replication