Allow setting metadata before registering to Eureka

Eureka has problem to replicate metadata when there are multiple instances. By setting the metadata before the registration, and only send the metadata once in one POST call, we can avoid the corruption to the metadata.

I worked with @cquinn on this, and this is the approach he used in Netflix.