A Maine company has developed a prototype building insulated with curved structural foam panels. One possible market: the Millennials.