Feature/is simple

Implement free function is_valid and is_simple for all geometry types.
* is_valid: returns true if the geometry is valid in the OGC standard sense
* is_simple: return true if the geometry is simple in the OGC standard sense