solo: switch to getwork on unhandled gbt versions

version seen: 1024 (Neos), 6 (Mist in PoW phase)
blake: full rewrite with a midstate cache

speed increase by 2 (same logic as i made in ccminer)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
update curl to 7.38.0, add vc libs (x64 only)

curl static lib built with HTTP_ONLY define

to build x86 ones, check curl-for-windows project on github
linux: fix neoscrypt compile without asm
blake: small cleanup
Add montoring api support

use -b <port> for local telnet, -b <ip:port> for network

default port set to 4048 (4028 in cgminer, 4068 in ccminer)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Add sample php api client
Fix global hashrate (was 0)