Check .gitmodules file into Git

There are submodules checked in for the directories in `vendor`, but the `.gitmodules` file is missing, so these submodules can not be initialised. This patch adds the `.gitmodules` file.