Implemented Buff::Encode#encode for set_schedules

Expected to be able to use Addressable for this encoding purpose.
After being unable to implement it with Addressable, a simple
algorithm was build to encode the hash/array into a www-encoded url.