Improve Util::entry_name to be more robust.

Now only removes the trailing slash on a name if it can.
Improve the documentation for Util::entry_name.
Remove old Container compatibility.

Next version is 2.0.0 so we can just scrub all this (and the tests).