Adding dependencies to pom.xml

Maven dependencies are now added to pom.xml
Setting compiler to use JavaSE-1.6
Updating .gitignore