fixed periods
test fixes
change .proto type for merge
Merge branch 'ql-refactor' of github.com:rethinkdb/rethinkdb into ql-refactor