CoreJavaFileManager.findClass: properly resolve $ in inner class names

More general fix for $ resolve: added ability to resolve Nested.Inner$ class in next case (hello from new akka library):

class Nested {
    class Inner {}
    class Inner$ {}
}

Please merge it also to nearest 12.1.* release and 13 eap