US markets post their first weekly gain in 3 weeks; Bidding war between HP and Dell for 3PAR ends; US economy loses 54,000 jobs in August