ported classfinder related code from https://github.com/bmc/javautil and updated to ASM 4.1