More careful updating

JsonUpdaterTask now verifies (through a new function in JsonHandler)
that the file it pulled from the web contains valid PTT JSON data.  It
will only prompt to replace the existing algorithm if it passes this
test.