Add clearFlags method to FlaggableElement

Change-Id: Ibbec2eda9231449ca7879ef200a0830b927f6fc0
Merge "Add clearFlags method to FlaggableElement"