Re #340 - Front end for flagging image annotations as inappropriate

* added code comments
* added unflag call in anticipation of the new all method
* added appropriate toggling of the flag icon click listener depending on the state of the flag