Fixed gradle build script

Syntax changed based on gradle 2.2 nightly
Begin work rewriting gui things
Finished rewriting GuiButton
Fixes to GuiButton, made GuiSlider