Added license information for 3rd party software.

This should make us in complience with the Apache License v2.
Added GPLv3 license.

We should still add copyright information to each file, but I
think that this is enough to satisfy the license for now.