beta: update Parsoid dependencies only on changes

The beta autoupdater script was updating the npm dependencies
continuously, we only care of doing that when the Parsoid code base has
actually changed.

Change-Id: I13653499f7a0c26f5a2258da80e2a0daf6cbd4b5