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.
Sure.. I guess rewrite in AngularJS is not far away either, but I'll fix it jQuery style.