CMS-4088 Move Node-api from api to core

Moved all Node & Entity stuff to core