first step of migration to scala.reflect.core

review @den_sh /cc @dedoz