Lots of clang-analyzer warnings dealt with.

Lots of clang-analyzer warnings dealt with. Also updated jdksavdecc-c submodule reference.