rewrite beta autoupdater in python

Should be invoked by the mwdeploy user with '--verbose'.  The old shell
script is still around to let me handle the migration asynchronously.

Change-Id: Ia1ec567790f5ed6806ace511fd1d8fd8a00202a6