Change file extension.

Use correct extension for Arduino 1.x
Add license information.

Closes #3