b2: Make JointDef abstract
Add more tests (still not finished)