Fixed ReflectionClass::isPublic, isPrivate and newInstance* functions and added relevant ReflectionClass tests. Improved package private class instantiation, extension and inheritance error messages. Wrote a bunch of tests.