Make shallow cloning optional

- Adds a param to the Git project type to disable shallow
cloning.
- Required for slaves to clone from master, you cannot clone
from a shallow repo.
- Clones default to full (shallow=False)
Add another test