COMP: Fix egregious -Wcast-qual warnings

Fix a handful of C-style casts that are throwing out 'const' for no
particular reason. (Also rewrite one that really does need to cast away
const to use a const_cast.)
STYLE: Improve testing of member Get/Set functions

Increase code coverage by testing that the Get/Set
member functions are used.

Change-Id: I00df2b32c87c22998ab4cca3773c3d70dfe618c5
Merge topic 'SyNCoverageIncrease'

73ba3447 STYLE: Improve testing of member Get/Set functions
Merge topic 'fix-cast-qual-warnings'

58ccb6a1 COMP: Fix egregious -Wcast-qual warnings