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
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..444b8db
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+.DS*
+.waf-1*
+.lock*
+**/*.pyc
+build/
+