Leroy Fer's late goal earns Swansea victory over newly promoted Burnley on the opening day of the Premier League season.