Added Sharples code back in but I'm not sure if it works yet; test with internet connection. Also added a catch so that it doesn't break if we don't have internet connection.
oops fixed one more thing from the previous commit (checking internet)
can now load image file from gallery
Cleaned up the PictureTakerFragment code
fixed contours
Added cropping of segments by contours and changed the highlighting from rectangles to contours
Added score saving
added saving scores to JSON