Katy Perry serves shots to, dances with, and even kisses fans at a surprise album party in a Barcelona club