Fleshed out some javadocs.
Replaced ResolvedComponentResult.publishedAs with moduleVersion.
Updated spec to reflect recent changes to API.