fix type_of printing in python driver
Merge branch 'ql-refactor' of github.com:rethinkdb/rethinkdb into ql-refactor