move bodies of functions for saving regions from ProblemDefinition to Domain

- new Domain.save_regions(), .save_regions_as_groups()
- update ProblemDefinition.save_regions(), .save_regions_as_groups()