CB-7459 Allow automatic tests to be run for specific plugin(s)

Implementation for https://issues.apache.org/jira/browse/CB-7459

See comments in commits for more details.
Actually, probably the best way to do this is to adjust the `getTestsObject` method in `tests.js` to create a complex object with `enabled` as a private member and to have get/set methods.