Add SetFlagState extension
Merge pull request #27 from Politiken/add-setflagstate

Add SetFlagState extension