WFLY-3456 Improve method matching by discarding bridge methods and by returning the most general method when a parameter is null

https://issues.jboss.org/browse/WFLY-3456