implements UUID checking for python
adds uuid testing for js
Merge branch 'ql-refactor' of github.com:rethinkdb/rethinkdb into ql-refactor
fixes JS uuid testing