[BZ1007529] add test reproducing the issue + fix

I have added test case that reproduces the issue both on DRL (kbuilder) level and direct method call level. 

I have also fixed the issue by updating the StringUtils.findEndOfMethodArgsIndex() to correctly handle nested quotes.