Centralized Gradle plugins, compileScala task, dependencies, and isMavenDeployable code. Added compileTestScala task. Upgraded Scala to 2.10.0.
Added explicit catch type to prevent warnings.
Fixed scaladoc wrapping issues.