Registers a plugin for use with the SDK. Plugins have access to the dependency graph and can be accessed with the instance's getPlugin function.