Nullary methods in JS classes considered as field lookup.

Instead of method call. This is useful to model a field
that has a getter but no setter, and whose getter can
return different results from one call to another.
Fixed bug in emission of trait impl classes.
Upgraded javalib.