Refs #9247. Fixing unchecked return on iterator.
Refs #9247. Fixing unchecked dynamic cast.
Refs #9247. Fixing some uninitialized members.
Refs #9247. Making RHEL6 happy.

Having to lobotomize C++11 code since RHEL6 can't cope. I hate RHEL6.
Merge remote branch 'origin/bugfix/9247_vates_coverity_issues'