fix db schemas options with empty config
use perl to update buildVersion string; sed -i is not portable
change production schema to public
improve inserted_ways handling

compare destination tables for each way instead of only comparing
if the tags are similar