Fix populateSitesTable, use new SiteSQLStore class.

Change-Id: I75038c9ab0bc0bb828f9b7b46fc00aabd95fbcdb