Close #411: Add debug API with relevant commands

Create a new API category, debug, and migrate the
blockchain_start_simulated_time and blockchain_advance_time calls to it.