IKSolver,simplified solve_chain code.

Now it is divided in two methods solve_chain_1_segment and
solve_chain_several_segments, it is faster and code gets simpler.
Skeletoncontroller fix inverse kinematics with one bone.

With one bone inverse kinematics failed, so added code to use the
result nevertheless