Added getOperatorList to api.js

we are trying to cache the promise by opListReadCapability below, so you can return opListReadCapability.promise at the end