Singularity theorems and the inclusion of torsion in affine theories of gravity