Added a regression test for #2399.
Initialize reader_t::items_index
Check pseudo types before inserting them into a table.
Remove unused literals from results of merge
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.
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