Support listing endpoints for an object.

Implements blueprint list-endpoints.

DocImpact: new middleware list_endpoints.

Change-Id: I6b1ba25b86d7e1b6cb20a8236ba7318547a2001a