Fix build warnings

There were a few build errors that have been collecting. I've fixed them, and also made warnings fatal so that they are addressed earlier.

All of the changes were because of deprecation in an imported library; most were related to Hadoop's Job constructor being deprecated. The biggest change was in Genotype.getAttributeAsString. I don't know why it was deprecated, but I've included a scala version of it.