Small style fixes to (partially) conform to NFD code style

Also, adding LICENSE file for GNU 3.0 license and updating headers of
the files to reflect that.

In addition to that, converting files to UNIX text file format.

Change-Id: Ifb33e7d8474a840b21c9e73636552955931f39f8