Add GPL v3 license headers to sources

Issue #350.
Merge branch 'issue/350'