Moved pin_id_int_t typedef to pin_id.h from peridefs.h to break pin_id.h et al dependency on peridefs.h
Fixed some spellig errors. Removed #include of pin_id.h -- pin.h will include it
Comment spelling coreections
Slight re-formatting changes