build.gradle: update gradle-fatjar-plugin to version 0.2

This also fixes a Gradle deprecation warning about the use of
TaskContainer.add(), which is scheduled to be removed in Gradle 2.0.