[Ready to land] Detecting suspicious/explosive crashes

Still work in progress. But this should be the idea for the cron job. Feedback will be nice

Right now the model is fairly "dumb". Smarter models could be developed but most of them are based on the existing math (and code framework) and should be fairly easy to add in.

Todos:

 - [x] Testing? What is the policy on this?
 - [x] DB migration: created a new table. Haven't done this yet
 - [x] Further model creation (ARIMA model next. Don't have parameters yet) [DROPPED FOR NOW]
 - [x] Remove some debugging code: I left some in, I'll take them out as I get closer to a more final version.
 - [x] Middleware
 - [x] Front end code
 - [x] Time series graph
 - [x] Legal clarifications for the code
 - [x] Middleware unittests
 - [x] Webapp unittests
 - [x] Middleware documentations

Note about code review: There is a blob of math somewhere in this PR (not sure what the final structure will look like). There are some comments describing them and links to the original implementations/papers. As (if) I develop more complicated models, more math functions (blobs) will be added into the mix. While for some of these stuff I don't have theoretical verifications that I did this correctly, I did experimentally verify them to the best of my abilities (results are in docstrings/comments). If someone wants to mathematically prove it and tell me I'm wrong, please do so :).

Almost ready for merge. There are some optimizations that needs to be done. Though those might be best with Bugzilla bugs.

R?