Several updates to the rportals code.
We now use a target structure for each target ID that we want to send
data to. This allows us to separate out target-specific states and
more cleanly manage operations to a single target.
Signed-off-by:
Antonio Pena Monferrer <apenya@mcs.anl.gov>