Sliding time aggregate stats, route matching by method, nostacksize_t

Aggregate stats now with a good test.
Also route matching by method, also tested.
Now with added protection for deprecated APIs that used to specify stack_size.