upgrade to gradle 1.8
update build script with dist task and fatJar plugin