use CONFIGURE_PACKAGE_CONFIG_FILE() if possible
use CMake's set_and_check macro in export files
Remove superfluous check for CMAKE_CURRENT_LIST_DIR

CMAKE_CURRENT_LIST_DIR is guaranteed to exist from CMake 2.8.3 on, so now that
the minimum version is bumped to 2.8.11, we can scratch the test.