Update gson dependency version to 2.2.4. Fixes BUKKIT-4848.

An outdated gson dependency limits the options developers have when implementing serialization in their plugins.
Updating the gson version fixes this problem.