Add spec for dhcp::subnet and improve template and definition