bug 731598 - add uuid to extensions table

This is to make the changes to the tables. We don't need to (and probably shouldn't) backfill the column until the UI and/or middleware starts actually using the column.

I left the code to backfill in there as some lazy documentation.

This changes requires a short maintenance window for prod when applied because of locks taken out on the extensions table.