Added a regression test for #2399.
Enforce the type of nestingDepth
Initialize reader_t::items_index
Check pseudo types before inserting them into a table.
Remove unused literals from results of merge
Fix for review
Added another test case to the 2399 regression ReQL test.
Reworked datum_t::drop_literals()
Reverted datum validation
drop_literals() doesn't copy the datum anymore if it doesn't encounter a literal.
Added r_sanity_check for nested literal keywords.
resolution for #2415
Merging #2297 JS driver - we actually still use protobufjs

review 1502
Beyond the deletions of all mention of protobufjs, this also adds a tool to automatically go from the protobuf definition file to the JavaScript definitions file
Fixed style problems.
fixing incorrect expectation that r.http timeout be an integer
Improved #2399 regression test.
fixing a missing part of a commit
another part of the last commit that failed to make it in
Merge branch 'sam_style' into next
Merge branch 'v1.12.x' into next
Readded the varint.hpp header in shards.hpp where it should not have been removed.