Added blockoffset command, fixed physics bugs and got rid of NMS-code for sloped rails

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>