make sure events are fired when custom elements are attached

and leverage that to allow delite/Store store to be a custom element