Updated all the code to 1.8

All of the code should work(ish) with 1.8. Textures are broken, as are
(strangely) localizations.