import PhysicsConstraint not working
replace 

import PhysicsConstraints
...
vehicle = PhysicsConstraints.createConstraint(physicsid,0,11)
...


with

import bge.constraints
...
vehicle = bge.constraints.createConstraint(physicsid,0,11)
...


and so on.