Darren Bent scored late on as Fulham picked up a morale-boosting 1-0 win over Stoke in the Premier League at Craven Cottage.