Added LGPL and fixed line endings.

This will close issue #3.