Improve stats collection: support for different database types
Generate a new site id if the site moved to a new address
Translation updates