Task/iotcore 126 cep pep implementation

Add generic plugin for calculating the action in REST APIs.