Updated protobuf definition to allow metadata to be passed with device
registration message. Refactored registration logic into common base
class and updated to pass device registation metadata when creating a
new device on registration.
SITEWHERE-69