Fix st_isvalidReason. Fix tests
Add st_isvalidDetail to be compliant with Postgis