FIXUP: Change the way setup_cgroups_plot is added to DockerClient.
web: Add startsWith and endsWith polyfills from MDN.

And use them.  This unbreaks the broken-since-forever "service:"
prefix recognition in the search box.