Allow multithreaded CMAES.
Merge branch 'cmaes' into cmaes-threading
Use unique_ptr instead of auto_ptr if possible.
Fix warnings related to signed/unsigned.

Also for implicity casting double to int.
Suppress sscanf vs sscanf_s VS warnings in cames.
Merge pull request #253 from chrisdembia/cmaes-threading

Allow multithreaded CMAES.