Get download working

also bring client up to date with all the server-side changes and make
it python 3 compatible
Merge branch 'master' of github.com:waveform80/compoundpi