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.