Break out url components.
Singularlize mappings.
Indent.
Redesign ES endpoint handling.

Now we fully support http://host:port/index/type in every place it
makes sense.  Just supply --target or --source where necessary.