Handle missing beans for constructor arguments

Tested working on ACF9, ACF10 and Railo 4.  Included test case now fails on Raio 4 without the fix being in place.