LP#
1773417 Fix Transfer to Lib in Item Status
This function had two errors, one serious enough to prevent it from
working, and a second which was a minor inconvenience.
For the first, we were trying to move copies based on a reference
to the call number ID. We did not, however, include the cn.id in the
faux cn we build for the loop. We are using it as the key for that
hash anyway, so we'll just pass through the key as well in the forEach.
For the second, we were not properly chaining the item refresh to the
update promise, so it was not refreshing. We now instead refresh based
on the completion of $q.all().
Signed-off-by: Dan Wells <dbw2@calvin.edu>