Small fixes

Added forEach and clear to Set and added iterator to both Map and Set.
Also fixed typos and inconsistencies.