add operator to stateevaluator in json api

Fixes #57
Merge pull request #64 from mzanetti/fix-ruledetails-2

add operator to stateevaluator in json api
added GpioMonitor
added licence
Merge pull request #66 from t-mon/improve-gpio

added GpioMonitor