Terrain enums strike again

Rearranged enums to hopefully keep save loading stable.
Now that I have map chunking working I want to convert maps to json and put an end to this enum crap once and for all.