Fixed weird meta with curved rails
Minecart improvements and fixes

* Fixed curved rails
* Fixed detector rails in certain situations
* Fixed powered rails and others passing bad meta to SnapToRail()