Fixes to sets and enumerations

It is now possible to iterate over enumerations
Added set functions Include and Exclude