The city’s first “net-zero” accessory dwelling unit took two years and about $200,000 to build. Its owner learned some valuable lessons along the way.