JBIDE-15351  Implement bean discovery in explicit and implicit archives

Bean discovery in explicit and implicit archives is implemented.
Test is added.