BUG14527: Subdivision fails for non-manifold data

The subdivision filters were not checking for non-manifold data. If
the data was non-manifold, the filters crashed. Now, if a non-manifold
triangle is found, the filters report an error and do not produce any
output.

Change-Id: I07ab5b63e15325948bda2a8284281339b524de68
Merge topic 'Bug14527' into master

901e7e60 BUG14527: Subdivision fails for non-manifold data