src: remove ObjectWrap dependency from core

/cc @trevnorris