Updated .gitignore for IntelliJ and changed pom.xml to handle profiles