Charlie Adam scored a last-gasp penalty to salvage a point for Stoke in a six goal thriller against Swansea at the Liberty Stadium.