backend can take specific commands object

backend.check_os cause infinite loop with Serverspec::Helper::OSDetect
Add check_os method