[cookbook] Add nginx_ctl()

 - Support signal: quit, reload, stop
[cookbook] Improve unittest for shell(), shell_output() and nginx_ctl()
[OSX] unittest for shell(), shell_output(), and nginx_ctl()