Added MongoDB dependencies to pom.xml.