Pass and Return by const where it makes sense.

we didn't do it because this code will be in VTK at some point. Do you thinks VTK folks would be okay with this change?