[model] removed obsolete Model class; fixed comparison operators

The Model might see revival in other form in the future.
[namespace] lookup for dimension in the hierarchy
[workspace] fixed namespace to be default if None