Change speed calculation if download speed equals 0

The formula used to convert bytes per second to human readable
units uses Math.log(speed), which is undefined (or -Inifinity)
when speed equals zero. So don't use that formula if speed equals
zero.
Merge pull request #151 from runeksvendsen/dev-0.3

Change speed calculation if download speed equals 0