Support for Counter & Set data-types

This adds support for the Counter and Set data-types, and for getting/setting bucket-types too. It does not have helpers to extract the values from a data-type fetch yet, but I'll push that to this same branch once I'm done with the implementation.

Wanted to push this up early, so it can be reviewed while I'm working on the nicety parts.