misc cleanups

- add some copyrights
- add eols at eofs
- re-work some comments in the polymer example
Pinged :)

@sigmundch, I tweaked some whitespace, re-ordered the imports, and converted the large c-style comment block into individual line comment blocks (per method).