Refactored and moved ProfileBuilder to Maven-API

Moved MavenDependencyAdapter as well to the API.