Clean up and fix how apps/comments are flagged. Simplifying the whole system.
Hookup flagging profiles in the gui, backend remains.
Minor formatting. Save flags in DB.