Small fixes

1) IndexOutofBounds in Calculations getMiles
2) get parent result code to prevent setting to 0 in onActivityResult
Small fixes

Make fuelsurveyactivity more robust; make double parsing more robust
Merge conflicts