Use absolute paths for directories in .gitignore

Previously, ignoring "lib" was causing static/lib to be ignored as well.
Merge pull request #2 from geoadmin/fix_gitignore

Use absolute paths for directories in .gitignore