fix permgensize for tests
update -XX:MaxPermSize for gradlew scripts, use gradle 1.10