re-add Scaladoc support on headless branch

I'd removed it back when headless was just a sandbox branch, but now
that it's become a real line of development, seems like we should have
it