Add new jclassinfo requirement to .travis.yml

Also, allow main() in non-public classes.