Scotland lost the fight for independence, but gained huge power over the future of the UK