add some safety to the sparsity pattern augmentation so that we cant over allocate refs #4230
Merge pull request #4313 from friedmud/contact_work_4230

add some safety to the sparsity pattern augmentation