[JENKINS-21248] Add shallow update init for submodule

Recent versions of git supports the shallow update (--depth={n}) option.
This patch is to add this new feature by adding methods
submoduleUpdate(boolean recursive, boolean shallow, String reference).