Add checkstyle configuration for the eclipse checkstyle plugin
Fix some paths with ending slashes
Remove duplicated git functions and fix git_dirty function