Fixed incorrect usage of the findbugs task, more API consistency and more testing.

- Findbugs was taking too long to run because the Ant task was misused.
- Add more javadoc comments and Ant task usage examples.
- Made the API more consistent in terms of properties names (localDirectory vs directory elsewhere).
- Updated the README file.
- Added a test for git branch.