compatibility fixes for p4est 1.0

The deprecated type p4est_connect_type_t got removed in p4est >=1.0. Use
connect_type_t instead.
Merge pull request #10 from tjhei/p4est_update

[minor] compatibility fixes for p4est 1.0