The young Spaniard will move up to the intermediate class as a World Champion, but it wasn't long ago when his future didn't look so secure