misc cleanups

- add some copyrights
- add eols at eofs
- re-work some comments in the polymer example