Dmplex types

The first two correct missing type declarations in the quad numbering code.  In particular switching to 2D array indexing makes a noticeable difference in functionspace numbering time.

The last commit just tells cython that the arrays it sees are C contiguous (which speeds up accesses a leeetle bit).