Threshold model
Merge branch 'samuli-dev' of https://github.com/Multi-Axis/habbix into samuli-dev
linreg: parameterized
moved dataset limit application to habbix itself
added daily min/max filter
support bytestring < 0.10,
add sync-db -i switch
linreg preFilter (dailymax/min) works
simplify and extend sync-db, and fix linreg ranges