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

extended pull request https://github.com/griddynamics/jagger/pull/473

!warning, next pull request should be merged to make jagger run correctly