Handle ValueError properly. Fixes #17 #19 #24 #26

Error handling code from http://stackoverflow.com/questions/6804620/having-trouble-raising-exception-for-urllib2-urlopen. Also check consistently for results from malutil.get_URL().
Merge branch 'master' of github.com:technoskald/maltrieve
Added executable bit