JBIDE-15385 Support annotation @Priority

Annotation @Priority is used to determine bean enablement
and to resolve ambiguous dependencies. Test is added.