Support for CAS

The motivation behind this patch is to make working with CAS operations easier. The issue with CAS operations is that the result set varies depending on whether the CAS statement was applied on the server side or not.

As an aside, I was testing this with a table that contains a timeuuid column, and I think I may have also found an issue with the marshaling.