fix python uuid comparison
fix uuid checking in JS test driver
Merge branch 'ql-refactor' of github.com:rethinkdb/rethinkdb into ql-refactor