Add .gitignore

Used a copy of .gitignore of mediawiki/core and removed some lines,
because in this extension not all the folders which are in core.

Change-Id: Ib24ff18b0ca80b001601ca52ebf6f0d6f641e0a6