Update getCommand/PluginOfClass javadoc

Clarified that class equality is tested is by name and not
assignability, and pointed to get...OfType as an alternative for finding
multiple implementations of a given command or plugin.