Resources can now specify if they allow train reversing.
Fix gates so that relationship are always bi-directional.