Made initial hinge joints

Also moved the test carriage to the traincarriages script
Fixed something minor