Add statistics according to #248

This add basic statistics for VRFs, pools and prefixes in the backend, exposes it via the API and enables support in pynipap so that the CLI and the web can display statistics.
Done.