Refactored sid calc to be based on raeting constants

Added LaneStack capability to reset sid numbering sequence for remote yard with sid of zero with test