Updated the licensing.

Updated copyright notices to use the GNU General Public License v3 and
updated the setup to use and distribute the new license.