Fixes #504. Automatically enable dependent plugins

This is enforced on the server side during setting validation, and
also reflected in the web client. Switches for dependent plugins
get set to the "on" state if they were not already on.