Reset all submodules before update to avoid conflicts

Doing a `git submodule update` breaks in the situation where files have been changed inside the submodule. Git's man pages suggest there's a `git submodule update -f` but it doesn't exist. Doing a `git  reset --hard` inside each submodule seems to work.