Added scalaDoc creation to deploy script.
Added scalaDoc to Template object.
Split deploy.sh into deploy-doc.sh and deploy-pages.sh.