Merge pull request #3 from watsoncj/gradle

build with gradle
Minor gradle fixes.

 * Changed Statsd to StatsD to conform with naming standard of project.
 * Added findbugs and jacoco plugins.
 * Made the jacoco plugin run on build.
 * Made the javadoc task run on build.
 * Explicitly specified the tool version for checkstyle and used an up-to-date checkstyle file.
 * Added default task.
 * Updated version to 2.4.0-SNAPSHOT in light of recent changes.
 * Split the slf4j dependency so that under compile it only depends on slf4j-api.
 * Test still depends on slf4j-jdk for simplicity.
 * Changed to junit:junit:4.11 from junit:junit-dep:4.11, since with 4.11
junit-dep has been deprecated.
 * Added the findbugs annotations and JSR305 annotations.
 * Enabled Xlint:all on compile.
 * Made the wrapper version explicit.
Merge pull request #4 from dclements/gradle

Minor gradle fixes.
Marking some dependencies as provided or optional.

 * The metrics library is now marked as `provided`, so that there's no accidental
upgrade.
 * Marked the annotation-only libraries as optional, so that people who are using
them won't implicitly import them.
Moving the metrics 2.+ libraries into a subproject. This way it can be maintained adjacent
to a metrics3.+ library since the changes in these are so radical.
Merge pull request #5 from dclements/provided

Modifications to prepare for version 3.
codahale 3 support with tests