Update licenses. Also adds a maven plugin to manage headers.

Warning: large diff