dorelease.sh: improve script

We restart from scracth on release: recompile all scripts, clean, run tests,
make archives.
build.gradle: do not include fatjar on release
1.2