Implement ability to push minecarts on curved rails

This is my first real code contribution to an open source project. I'm grateful for any advice!
Don't use comments like these, move them to the next line. ALso this should have been caught by the CheckBasicStyle script as needing an extra space before the comment slashes.