Add .gitignore

Ignores IntelliJ and Java generated files.
Edit pom.xml to include test dependencies

Includes JUnit and Mockito.