POC: [NX-496] Component metadata api

https://issues.sonatype.org/browse/NX-496
Yeah I was hoping to avoid an explosion of classes, but a couple more probably won't hurt.