Fix WordCount Example code
fix #245, remove jacoco due to exception
allow user specify log dir in gear.conf