added functions to check validit of state, and also to act as callback for constraint sampler
setting GroupStateValidityCallbackFn member for constraint_sampler member and implementing callbacks for state validity checking
renamed newGoal to new_goal for keeping with formatting
Merge pull request #48 from arjungm/constraint_sampling_alt_ik_bugfix

Constraint sampling IK alternate bugfix