Add UI interface for managing the OpenDaylight provider and controllers.

Fix several bugs in the code related to the api handling.