Incorporated Shellwords into the ri module to escape arguments.

Fixes a potential issue with sending dangerous commands to ri by
mistake.

Suggested by Ricky Elrod <codeblock@fedoraproject.org>