A couple has secured planning permission from their local council to build an eco-home in rural Wales where they intend to breed and eat guinea pigs and other "small-scale livestock" for meat.