Fixed some stuff with looping to handle both single and multiple language surveys.
Fixed some stuff with looping to handle both single and multiple language surveys.

XLSForm/pyxform,XLSForm/pyxform,dorey/pyxform