Finishes the material design base and 2 els.

This includes the automatic event system, the additional states and the
Header panel and Drawer panel.