entry point finding

not quite done yet, need to figure out how to best write
`definitions.isArrayOfSymbol` (see scalac). for that, need to
understand the `Type` classes in dotty.

review by @magarciaEPFL

that's the last contribution before my ski holidays - will be back to work on the backend on february 24