Improvements in spark-selector and spark-overlay

TBR

* Normalize attribute names
* Control animation for spark-overlay via a dedicated attribute, not plain CSS class
* Attach event handlers for spark-overlay programmatically rather than via the declarative `on-*event*` mechanism (more reliable)