coverity#1019325 Unchecked dynamic_cast

Change-Id: Ic1607eea119a7321f65b0a0145a263a03406ed6d
coverity#1019327 Unchecked dynamic_cast

Change-Id: Ibc5a1478d196681cbc124886924eebf065bbdb11
coverity#1019331 Unchecked dynamic_cast

Change-Id: I902fdbcfd171e93ac57b5021269d2279610b4b0d
coverity#1019332 Unchecked dynamic_cast

Change-Id: I280928da005b8cdd94c8bf33eb5aaa86a5ea2fcd
coverity#735429 Logically dead code

Change-Id: I2f2bd16d04b8058ba0d253eb3d5455fabbad54cd
coverity#984097 Uninitialized pointer field

Change-Id: I3098e446f0a2a4cd82785d7dcaf101575ed0b476
boost::unordered_map -> c++11 std::unordered_map

Change-Id: I28438000c2b0a8e6ce4f5640f861f572c0cb83c8