[Scenario] Remove usage of deprecated icon API

Removes references to deprecated approach to
communicating component type icons, and
implements getAsset.

This resolves build errors related to
deprecation and keeps up-to-date with
platform API.

Also does miscellaneous clean up for 
other warnings (unused import, 
unused variables/fields.)