Added IDEA and OSX artifacts to gitignore
fixed maven build error