Let scheduleSleep strdup its callback argument

Previously, the caller of scheduleSleep (Shell.cpp) took care of
strdup'ing the string. However, this prevents calling
Scout.scheduleSleep(3000, "foo"); from C++. By moving the strdup, no
extra work is introduced, but scheduleSleep can be called with a string
literal now.