JFG-694 Remove entities and parameters from core to dbapi module

extended pull request https://github.com/griddynamics/jagger/pull/473