make AnnotationDetector work on JBoss 5.1 whose VFS URL protocol is 'vfsfile'.
Merge pull request #1207 from kevensya/master

make AnnotationDetector work on JBoss 5.1 whose VFS URL protocol is 'vfsfile'