Make DBField set/add methods robust against exceptions in plugin code

The setValue(), setElement(), addElement(), and addElements()
methods now put the namespace cleanup in a finally clause so that
we don't leave values in namespaces if an exception is thrown in
custom DBEditObject subclass code.
Made networkCustom verify IP range strings.
Fixed an externalization mismatch I recently introduced in ObjectHandle