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: If014726ffa08b93b2bb196bdc98a679340ff561c