Stumped in transfer status endpoint.

refs #5837

Roughed out logic for working out whether transfer has completed
for transfer REST API status feed.