Autumn cleaning of Makefile
Merge pull request #2 from andreastt/ato/makefile_autumn_cleaning

Autumn cleaning of Makefile
Add a .gitignore file
Clear up the language in getElementAttribute.
Rewrite element displayed algorithm

Fixes bug 26304.