bug fix, increase max transforms to 4000
fix btCollisionObject, reduce working buffers to 3, other minor refactors
performance tweaks
Merge branch 'master' into gh-pages