Moving some common functionality to IconLoaderLib

Bug: 183641907
Test: Manual
Change-Id: Icfc7ebb140e4e1678b0715beee2e0e513e707b9e
28 files changed