Revert aa1f10f5, which breaks internal OpenMP search; update add_hpx_config_test so
that it works properly for external CMake projects. Test-cased against trunk and the
external CMake example repo.
Merge pull request #1140 from STEllAR-GROUP/wash

Fix OpenMP lookup, enable usage of config tests in external CMake projects.