scala: fix incorrect doc installation path and add 'src' as resource

* Fix `doc` installation location
* Add `src` as resource for IDE support since sources are not distributed as part of core tarball anymore