Issue #2149389: Add .gitignore to exclude libraries, themes, and modules directories