Reset the result_wrong count on block change in avalon scanhash to prevent false positives for all nonces failed.
Only do_avalon_close once on multiple errors.
Add API support for Avalon.
Bump version to 2.11.4
Fix warning with no curses built in.