Added direction enum to geometry.h.  Added rotation function to mapgen_spec.  Mapgen_spec can now be tagged as "adjacent," meaning it's a set of rules for building adjacent its terrain type.