Added support for unpack a RAR archive into the library.

The script uses the "unrar" shell command to extract the contents of the
archive and looks at the return code to see if the operation was
successful (non-zero return code indicates an error occured).