Submodule add and update

Implemented git submodule.add and submodule.update, as well as a small fixes for avoiding missing callback errors.