Changed scope for junit from test to compile so mvn package actually works

Real fix is of course to make mwdumper comply with the maven folder structure.
The problem was caused by the fact that test and regular source code files
are in the same folder.
Also added some files to .gitignore

Change-Id: Id984bf84fd8888bafefec894d976f4e6dd00f561