WELD-1382 issue

Upgraded build.config.version to 2 in the weld core pom.xml and removed unused imports.