implemented p4est_connectivity_reduce.

added some comments
added connectivity_reduce tests
fixed typo