Add enabled flag to plugin type

Allows plugins to be disabled.

I drop a file for both hpi and jpi plugins without checking which is correct.