Make parameters in EndpointManager optional

Change adminurl and internalurl parameters in EndpointManager create()
to optional parameters.

Change-Id: I490e35b89f7ae7c6cdbced6ba8d3b82d5132c19d
Closes-Bug: #1318436
Merge "Make parameters in EndpointManager optional"