adding an sbt build for publishing
repaired javadoc so that I can publish

SBT is being a bit strict about javadoc errors.