Add pyb.soft_reset() and pyb.hard_reset() commands.