Added options 'engine_threads' and 'mateq'

Added options to control then number of threads used by the engine,
and to consider evaluation above mateq as mate.
Removed playfor option.

This option is not actually used, attacking side is determined
at runtime with the pre-evealuation of the position.
Code cleaning.

Removed a bunch of warnings.