ExternalProject: Add option GIT_SUBMODULES

This option allows to filter the submodules that are checked out.
Add a simple testcase for GIT_SUBMODULES option passing an empty list.
Merge topic 'ExternalProject-git-submodules' into next

819015ef ExternalProject: Add option GIT_SUBMODULES