Rename getBaseType method to getTypeFamily.
Refactored similar exceptions.
Rename getBaseType method to getTypeFamily.
New GeometryInterface for all spatial objects.
Use correctly cased names when instinating new objects (issue #1).