Upgrade to gradle 1.8

Adjust the wrapper and add a wrapper task to make future upgrades easier