Update 'vertex register' to use newer idioms.

This switches the register command to use an endpoint, rather than a `AMP` subclass with a `connectionMade`.