Fixed config.tmpl moved to src

src directory mustn't be null to be cloned by git
Fix: WITH_ variables usage

WITH_DOC renamed to WITH_DOCS as WITH_TESTS, corrected.
Added test/test.cpp launcher class