Add two functions to Bloxutility: when and wait_until

This commit adds two functions to Bloxutility and documents them.