Added GPLv3 headers to files. Test for committing into MantisBT. Related to issue #404.