add indices to SetDOFLimits
Merge branch 'cache' of https://github.com/rdiankov/openrave into cache