Fixed RDBProtocol.OverSizedKeys
unit test fix
Fix bag comparison in javascript tests

Review 1249 by @Tryneus
Closes #1983
Merge branch 'next' of github.com:rethinkdb/rethinkdb into next
Merge branch 'next' into sam_1990