model: Do not try to create the same role more than once
model: Add patch filters

Get the current new or stale unreviewed patches
model: Use extended enums for the patch state

And implement additional filters