[bug 1062436] Add flags app and Flag model

r?
I'm a bit jealous of your model factories.