Added javadoc generation to build.sh
Added travis buildfile.