Adding Depth param to support shallow checkout

This will enable users to checkout phpmyadmin using a shallow commit avoiding downloading (GB's) of all revision history of the phpmyadmin project.

The patch is based on master branch. Not sure why other commits are listed in this pull request.