btHingeConstraint to set/get ERP, refactor gfx backends (work-in-progress)

add support to btHingeConstraint to set/get ERP
refactor to allow various gfx backends (work-in-progress)