Add support for Java classes with getters and setters

Also adds support for Java-style singletons that have a public
static "getInstance()" method.
Fix issue with AnyRef
Minor clean-ups
Merge pull request #211 from scala/topic/java-support

Add support for Java classes