Plans for a new 'net-zero' housing village have been approved in Edinburgh after council chiefs gave the project the green light.