Revert "Revert "Themes: Load missing style attributes from original style""

This reverts commit eb00ec690756ff82ea3b3ae26fba3226fe4d3ff8.
Revert "Revert "Move idmap to frameworks/base [2/2]""

This reverts commit fced3c1bad0bcd491b1ff3ad24c3551bd7f2f66e.