Modify build for scala 2.10 and for uploading to Sonatype OSS repo.