Fix migration downgrade 147 with mysql

Determine each service's availability zone and re-insert it back into the
database to undo migration 147 with mysql.

Fixes bug 1207309

Change-Id: I6a96215f9e97874a64f9bcef56c3d32747fb754c
Merge "Fix migration downgrade 147 with mysql"