Add prop_type function (#51).

Also a change to the mapping in ogrext.pyx so this works on
Python 2.6/7 as well as 3+.