fix handling of array index when being part of the topic, also handle splice arguments (fix #480)
Merge pull request #481 from ros/msgevalgen_array_index

fix handling of array index when being part of the topic