Bouncy-castle provider for generating certificates.

Used in tests to make sure we can consume JWTs correctly.
Merge branch 'oauth2-for-beta' of https://github.com/alexkalderimis/intermine into emma
compilation error fixes