FIx styling of code in gemspec file, and add .idea folder in gitignore