added exception NotYetImplemented
added workaround for "#define foreach"-bug in newer boost versions
Merge remote-tracking branch 'funkey/master' into speed-up-cleanup