Need a nice way for plugins to have resource-loader integration, optionally.
Open questions:
- How should plugins optionally add resource-loader middleware?
- Should plugins ship with this code always? Should resource-loader stuff be in a separate plugin?