Add support to register horizon as an endpoint

Horizon element has already been added to dib but the endpoint
registration support was missing so far.

Change-Id: I344d4201d06ab4143da148ed13a8175c1917984e
Merge "Add support to register horizon as an endpoint"