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.
Well, it seems like the if-condition is broken but the UPDATE wouldn't match on anything anyway. For the sake of clarity I will update that expression!