added dependency check for rigidbodyconstraint_mex.  i'm sure there are more places in the code that need it, and i think that many of the unit tests that are now disabled could do meaningful work with the non-mex constraint classes, but will have to clean that up later