Update kibana to v3.1.1

The latest master is using 4 and this requires further work as the build
process and entire UI has changed.