Initial work on alerts
Attempt to do some useful math
Tweak weighting so its more sensible based on two hour history
Track events by group and remove excess fat
Add Alert model
Remove Alert.users and add Alert.maybe_alert
Note about race condition
Improve assertions in check_project_alerts test
Support project_alert_pct option
Correct key name
Correct module in header
Correct and test various check alerts behavior