Values are now read from kinematics.yaml correctly.

Fixes issue https://github.com/ros-planning/moveit_setup_assistant/issues/99. I wanted to confine the changes to findValue(), but everything I tried caused findValue() to crash.

Why not just write a function that receives group_it and the string key as argument and returns it. That way we don't have ifdefs everywhere.