Robot: fix bug in getLinks(), getJoints()

was returning a map instead of a reference to a map.
Merge pull request #645 from acornacorn/groovy-devel

Robot: fix bug in getLinks(), getJoints()