PYCBC-112: Ensure objects can be pretty printed

This also adds several other tests which check the types of various
operations

Change-Id: Ib9b1280b4ecace5ac92fad9dd2c9a3b6e93c0747
Reviewed-on: http://review.couchbase.org/26329
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>