added a check for the http return code + download progress report

    * Check the http return code before starting a download, urllib.retrieve does not do this by default
    * show a download report ' X kb downloaded of XXX total kb (XX% complete) xxx kbps'
addressed remarks
check to see if a valid response code was returned, could also be None when offline
clean up revamped implementation of download_file
log HTTP response code fail
get rid of 'tup' trickery
minor fix in test
don't use os.path.join on URLs in tests
Merge pull request #6 from boegel/download

clean up revamped implementation of download_file
minor tweaks in download_file function
use inner function to remove faulty download
flesh out remove_file
Merge pull request #7 from boegel/download

minor tweaks in download_file function
fix log message in remove_file function
Merge pull request #8 from boegel/download

fix log message in remove_file function
Merge pull request #1066 from JensTimmerman/download

added a check for the http return code + download progress report