expect explicit area=yes for polygon ways

Also fixes issue where the exporter closes output files too early.
tests for parenting of buildings