Moved promise related functionality to promise.go.  Moved common funtionality between promise and object to runtime.go