kinematics_base: added an optional RobotState for context.

For my humanoid work, I need a way for the IK solver to know the position values of all joints, not just the ones in the group.