add the number of LTR setting in configure file
Silence MSVC warnings about "unsafe" standard C functions in console apps

Within the libraries themselves, we use other wrapper functions to
make sure the functions are used safely, but this wrapper layer isn't
available outside of the library in the console apps. The usage of these
functions is safe here, so silence the warnings.

This gets rid of all warnings when building with MSVC in 32 bit mode,
making it much easier to spot new warnings.
Use _CRT_SECURE_NO_WARNINGS to avoid warnings in the encoder version of read_config.cpp as well

This is clearer and requires less code than using the pragmas for
disabling warnings.
Merge pull request #674 from ruil2/enc_ltr

     add the number of LTR setting in configure file
add memory allocation for feature search
Merge pull request #676 from sijchen/fme_merge54

[Encoder ME] add memory allocation for feature search
Merge pull request #675 from mstorsjo/silence-crt-unsafe-warnings

Silence MSVC warnings about "unsafe" standard C functions in console apps