Provide runtime statistics to statistics.py

This is a requirement for https://github.com/Tribler/tribler/pull/294