In this case should be extended the API ( core ) and also REST Full webservices. We've done some testing with OSGI, but we're not sure about performance of it, that's why only at the present we consider as a test. We got some plugin to load dinamically classes ( that's used for example with Automation Actions and Validations ). If you got something we do not know for REST or API based on plugins do not hesitate to tell us, and if you provide some sample for community is always wellcome.
Finally, if you extends this methods for community, provide us, and consider are right we will include by default in source code.