Updated api.c to return the hashrate with 3 decimal places
Use common code to ensure the prefix of -S *:all remains in all implementations of it (/dev glob was removing prefixes)
-S all: Start QueryDosDevices probe with 256-byte buffer
Merge commit '9a48ec7' into bfgminer
avalon: Go back to good old serial timeouts for gets, since select() is for sockets (only, on Windows)

This reverts commits af65870244aa80230cdd8c014b39e0304d20b479, af6111fb555f195574120ec19439662d1eb3d740, 5e3474b0c8ef95c3b08ae587c138ea136fcc8362, 3671b2c310d875ad160dd9918fcc8d48c0ab7be6, d013551862928bdfaf5cc31a1750e69917e8bb4b.
avalon: Simplify avalon_get_result by using avalon_gets
avalon: avalon_clear_readbuf can simply wait for a single read timeout on Windows to avoid select
Merge branch 'avalon_win' into bfgminer