Fixes missing db columns on upgrade

Adds upgrade.php file, creating new columns required in the new version
of the plugin if upgrading from an older version.