Upgrade to bukkit 1.5 and fix warnings related to 1.5