Added stoplight signaling per Dan's request, and did some test/logic
refactoring. Also changed how the pfio fake works to be more like the
real thing