Upgrade fixes

1. Rework converting profile fields to prevent errors (fixes #2557)
2. Include DbExtra so $smcFunc['db_create_table'] will work
3. Reword the "You don't have ALTER privileges..." message slightly
4. Include new privilege checks for cmd as well.

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>