POC: [NX-496] Component metadata api

https://issues.sonatype.org/browse/NX-496
Better javadocs on the way..