New Theme Engine [5/6]

1) Update theme manager to support legacy themes with new theme engine.
2) Replace calls to getThemeId with getPackageName/getThemePackageName
3) Reset app launch failure counter on theme change.

Change-Id: Id14adb86f9d9c7b1cd94ccc44e6e6558af9041d6