Added getOperatorList to api.js

.. and resolve opListReadCapability.promise by calling opListReadCapability.resolve(intentState.operatorList)