Remove configuration ordering dependency.

Previously, once you configured `endpoint_definition_files`, no other
config options would affect the endpoints even if they were meant to
because the endpoints were already loaded by that point.

This changes the endpoint loading so that it's lazy.