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