preliminary annotation support (retrieve only for now)

This adds preliminary support for annotations.  I'll follow this up soon with POST support and docs.