Verify that config.inc.php's API key exists

Although it's tempting to replace the key in config.inc.php, when the
one in that file isn't found in the database, I think that might make
trouble. Instead, create a new key and instruct the user to sort it
out. Closes #337.