Formatting and cleanup
step_func() is unnecessary for test steps used with promise_test()
Cleanup promise_test() implemenation to use async_test() internally
Use Object.keys() to iterate over own enumerable properties in RemoteTest.

Previously RemoteTest was using for(.. in ..).