Add KiCadVersion.cmake to set the build version and branch name. Update WriteVersionHeader.cmake to include KiCadVersion.cmake to set the defaults in case no .git directory is found.