Make tilde expansion work on Windows
apt: don't obscure unexpected type errors

Errors of unexpected type are being obscured,
and only their type being logged. This change
is to just annotate the error with its type.

We also add some testing of the apt-get install
retry logic. It's still not perfect, but it's
better.
fixed tests on Windows
Added cross platform Uptime() function
Merge pull request #27 from gabriel-samfira/testing

Make tilde expansion work on Windows
Merge pull request #39 from gabriel-samfira/uptime

Added cross platform Uptime() function
Merge pull request #28 from axw/apt-retry-errors

apt: don't obscure unexpected type errors