Get rid of warnings in rippled and third-party code.

* Fix warnings in rippled code.
* Change Sconstruct to suppress specific warnings for individual
  third-party packages.
* Clean Sconstruct by removing repetition.