Add a EE::LicenseHelpers to easily enable/disable features
This adds a helper to easily enable/disable License features in specs.
It is already used in !2219 (merged), and has the same API as @godfat's implementation in !2112 (merged). This version will however doesn't stub using any_instance_of
. Since we don't really need it, and I marginally prefer not using it.
So right now this version will conflict with @godfat's MR, but we can have the discussion here. Once something gets decided, the API is the same, so the conflicts should be easy to resolve.
Closes #2657 (closed)