Renamed src/core to src/scpromise and changed build around so that it is more generic and easily dropped into the build for mortarjs