resolves #179.  mex rigid body constraints now use the updated drake mex pointer logic, which locks the mex file until all objects are deleted.
address hongkai's code review
Merge pull request #348 from RussTedrake/fix_rb_constraint_mex

resolves #179.  mex rigid body constraints now use the updated drake mex...