Beyond the fairy-tale castle and the horse-drawn carriages, Krakow reveals a hipster side and a haunting past