using prefix on joints didn't work with gazebo controllers. Fixed now

tested on gazebo hand + gazebo dual hand with different prefixes (moley)
Shouldn't this be like before, trying to find J0? (Thus we don't need to check the finger, as the thumb doesn't have J0)

```
if (joint_name_[joint_name.size() - 1]  ==  '0')
```