WELD-364 Modify the algorithm to find the business interface

- still it will likely not work if there is a session bean with more
than one view extending/implementing the declaringClass