fix checkstyle warnings ModifierOrder

also added .checkstyle files to .gitignore
this file is used by eclipse checkstyle plugin only for local project settings