License foo.

Changed main license to GPLv3 (to still comply with parts of the
original GPLv2 code, but also with Andreys MIT licensed libs)