3.0 Starting point

Using the upgrade tool, and a bit of sloggery this gets the toolbar displaying in 3.0. There are still many broken things:

* sql log panel does not work
* history panel does not work
* view variables panel is confused by entities.
* tests don't work.

I be addressing these issue in separate pull requests once this one has been merged.