Fix type conversion and sorting of version numbers.

Specifically, the current devel version with number 1.710 build 5 drops
the final 0 when converted to float, thus causing the URL to be
incorrect and fail.

Uses distutils.version.LooseVersion for casting the version number.

Also, cleans up whitespace, and renames some variables to better match
their function.
Build needs to be int for correct sorting, duh.
Fix URL provider as per issue #6
Merge branch 'sheagcraig-FixURLProvider'

Fixed issue #6