refactor initCl more
remove unused code (mostly intended for ASICs which are not supported in sgminer), fix some compiler warnings
add --hamsi-expand-big option for setting EXPAND_BIG in X13 kernels
move algorithm-specific OpenCL compile options into algorithm_t
add docs about the new hamsi-expand-big setting
attempt to fix memory issues when doing curl calls

From curl CURLOPT_ERRORBUFFER docs: You must keep the associated storage available until libcurl no longer needs it. Failing to do so will cause very odd behavior or even crashes. libcurl will need it until you call curl_easy_cleanup(3) or you set the same option again to use a different pointer.
Add option --more-notices & shorten stale submit
declare opt_morenotices;
fix compiler warning and indentation
nicer hard restart of mining threads (instead of canceling, let them finish gracefully)