Don't hardcode 'master' when updating

Stores the per-submodule branch in .gitmodules, and uses that to update. This
will facilitate easier maintenance and updating of stable branches which track
upstream stable branches.

Signed-off-by: Christopher Larson <kergoth@gmail.com>