Add Refs API.

Implements the `Get` and `List` methods for the Refs API.
Added some tests of the above.
Added an example of each to the end of README.md.

Did my best to follow style and naming from kv.go and events.go.