Changed Weld dependency to test, and only depend on the CDI API.