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.
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
restore default values
Merge pull request #679 from ruil2/enc_ltr

restore default values
update the default value for bPrefixNalAddingCtrl and iLoopFilterDisableIdc
Merge pull request #682 from ruil2/enc_test

update the default value for bPrefixNalAddingCtrl and iLoopFilterDisableIdc
Merge remote-tracking branch 'upstream/master' into travis.osx