fix Coverity defects
fix unit tests
fix coverity defects
fixed if/for block bracketing
added unit tests that break CFGridWriter
Trivial.
Fix exception handling (again).

Found by Coverity.
Remove needless instanceof check.

Found by Coverity.
Fix copy/paste bug in debug output.

Found by Coverity.
Remove unused variable, just skip the bytes in reading.

Found by Coverity.
Clean-up reading by using readString().

Found by Coverity.
Remove windows drive and update path.

Found by coverity.
Use readString() instead of reading bytes and converting.

Found by Coverity.
Handle bad group name.

Found by Coverity.
Make some inner classes static.

Found by Coverity.
Globally replaced all instances of ncss/grid/ with ncss/.
Fixed broken links in ChecklistReference.html
Merge branch '4.5.2' of https://github.com/Unidata/thredds into 4.5.2
Removed note in UpgradingTo4.5.html.
* It stated: "Automatic generation of test catalogs on clean install no longer supported". That's no longer true.
fix coverity defects