MT#5349 API: Implement GET for special domprefs

sound sets, rewrite rules, ncos and allowed ip groups require special
treatment when being fetched.