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

Checked on Ubuntu gcc/clang, debug/release, and on OS/X 10.9, clang debug.release.