Add GPL3 license.
Add licensing information to each file.

See
<http://tieguy.org/blog/2012/03/17/on-the-importance-of-per-file-license-information/>
as to why this is a good idea.
Merge pull request #4 from martey/licensing

Licensing. Fixes #2.