Fix restarting of standard_services with invalid class characters
Closes https://cfengine.com/dev/issues/2404
Merge pull request #490 from nickanderson/bugfix/masterfiles/libraries/cfengine_stdlib/canonify_standard_service_restart_context_restriction

cfengine_stdlib: Fix restarting of standard_services with invalid class characters