Convert cgtimer_t to struct timeval
Further integrate cgsleep API into BFGMiner's timer system, so clock_nanosleep is only used on platforms with CLOCK_MONOTONIC
Explicitly check for clock_nanosleep and only use it when available
Set RT_LIBS correctly from autoconf detection
Merge branch 'cg_merges_20130822a' into bfgminer
Bugfix: RPC: Fix log format types in io_flush
Merge branch 'rpc_longreply' into bfgminer