Add new attribute to define threshold alarm evaluation interval

Also make sure that this interval is >= than the other metering intervals.
Otherwise alarming doesn't work correctly.
Hm, true. Will change that.