[TASK] pages closure table sql and simple upgrade wizard

Change-Id: I31eb5dee09b0369350bbd8daeb34240d3a108488