Add messages in UnsupportedOperationExceptions thrown by iterator
Code style improvement
Add functions to check if an ID exists/is (in)valid
Code style fix

Renamed offsetIterator in InstanceIterator to follow the code style
Merge branch 'dbmanager'