Arboricity and spanning-tree packing in random graphs with an application to load balancing