Bandwidth master cleanup
This cleans up the server-side of the bandwidth plugin somewhat.
It rips out support for old, unused protocol version. It also reorders/refactors bit of the database juggling to a saner state.
It is implementation of #35 (closed).
As an addition, script to set up database for testing is added.