Add .gitignore rules for in-tree builds. This set of rules should cover make and ninja on Linux, and all of nmake, ninja and vcxproj on Windows, so that if someone follows the README build instructions (by doing 'cmake .' in-tree), it should generate no debris that .gitignore can't filter out.