Add checkstyle, pmd and findbugs checks. Fix findbugs warnings
Merge pull request #32 from javadev/master

Add checkstyle, pmd and findbugs checks. Fix findbugs warnings