Move targets/relocation rates filtering logic to models.util

The controls table and relocation rates tables share common formats
for specifying which agents a total or rate applies to. This moves
some common handling of those formats to models.util for sharing
between transition and relocation code.