The randomized measurement toolbox