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.
Merge pull request #140 from rhafer/alarm-eval-interval

Add new attribute to define threshold alarm evaluation interval
Add migration needed to upgrade barclamp