JBIDE-17593 As you type CDI validation ignores bean discovery mode

As-you-type project model will not include declared in current file
types without scope annotation when bean-discovery-mode is 'annotated'.
Tests are added.