CMake plugin implemented and project_builder refactored

Both functions are unneeded. You can reuse `list_files` code and in `find_file` plugin that @boyks implements.