Adjust plugin index for appcafe standard

Make hash optional and add id attribute.

Merge:	releng/9.1.0

Conflicts:
	gui/plugins/plugin.py