Add tarball comparison logic

This patch adds support for a very simple
update mechanism. Tarballs are downloaded,
md5 sums checked for changes from the current
one, and if they are different the new tarball
is extracted in place of the old one.

Change-Id: Ie23efc9795ba6520bb108d6797bb52651e44e273