merged newest branch of port-ckolivas

Allow running cgminer in benchmark mode with a work file --benchfile
PHM fix for quark difficulty