Fixes #2780 - Enhance puppet classes assignment

Allows you to assign/unassign puppet classes to a host/hostgroup by
clicking on it's name. You can still use the small icon on particular
line.