in case spec not found, try handling it as an url

Re-submitting squashed commits for review based on discussion from pull request #2515...



more specific error handling

fixed exception handling to match the specs for ullib from http://docs.python.org/2/library/urllib.html

check installation state of a rpm url by the url path

'Nothing to do' error now ignored