Performs the supplied action by finding a schema is satisfied by the current world state and contains that action. If not such schema is found then a new one is created.