Revert "Apply Java codestyle (from Google styleguide)."

This reverts commit 43d49094d429caf56823c7ad5a237c3e852b846b.
Update gitignore to ignore Intellij files.