Fixed include order style problems and made check_style permit rdb_protocol/terms/terms.hpp to be included by .cc files in that subdirectory.
Fixed style problems like marking constructors explicit, stray semicolons.
 Fixed header guard style in some places.
Fixed more style problems.  Things compile.
Fixed or marked some style problems nolint, particularly non-const references with wire funcs.
Fixed problems with compilation in get_namespace_from_metadata.
Made us not use getgrnam, which is not thread-safe.
Merge branch 'next' into sam_style
Added explicits, nolints on a swap function.
Made us use getpwnam_r instead of getpwnam.
Merge branch 'next' into sam_style
Merge branch 'next' into sam_style
Made us tolerate errors in get_user_ids and get_group_id.
Merge branch 'sam_style' of github.com:rethinkdb/rethinkdb into sam_style
Merge branch 'next' into sam_style
Order keys in an object for the tree view. Related to #832.
Made write_t::durability() endemic, made it return DURABILITY_REQUIREMENT_DEFAULT.
Moved protocol.hpp include out of metadata.hpp.
Table and database names are now case sensitive. Related to #822
Made broadcaster_t::spawn_write obey write_t::durability() requirements.