misc cleanups

- add some copyrights
- add eols at eofs
- re-work some comments in the polymer example
The element was generated from polymer's `new_element` generator. I'm fine if you change it, but maybe ping @sigmundch for feedback on the changes?