BUG: install_req assumes that the requirement is a Req instance

There are some invocations, that pass a string argument, instead of an
instance of `Req` to `install_req`.  This commit guards against that.
Merge pull request #88 from punchagan/minor-install-req-fix

BUG: install_req assumes that the requirement is a Req instance