Fold MetapolatorProject.init into MetapolatorProject.prototype.init

Adjust the former’s only caller.

Rename dirName property of MetapolatorProject to baseDir for clarity,
and remove some rather obscure comments about it.