Remove use of Lightning Core code
Lightning API does not actually use any code from Lightning Core; it only uses a link parent. We can just move the link to a different parent, and remove Lightning Core from the list of install-time dependencies. The hard dependency on Lightning Core can be removed in 5.1.0.