Move parse_swh_reference to swh.deposit.utils namespace
So it can be reused in other non django part of the deposit.
Related to T2886