srm: Avoid duplicate status code update on status query

Container requests calculate their status code based on the status of
their file requests: However once they reached a final state, that
final state should be used rather than update the state several times.

When requests expire, I have observed illegal state transition errors
caused by trying to update the state several times.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/7000/
(cherry picked from commit 39b2c1153e02882c4b4ae4309d37bffdffbe8f87)
Merge pull request #570 from gbehrmann/fix/2.7/rb7000

Fix/2.7/rb7000