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