Fix some checkstyle issues.
Add missing javadoc.
Update git ignore list.