editor: fall back to relational plan visualizer

We cannot yet visualize the physical plans that include Sequence or
DoWhile operators using the new hotness. For these queries, we can only
show the relational plan using the old coldness.

Catch errors visualizing physical plans in the general case, and when
they occur hide the physical plan and show the relational plan.

Vice versa -- when parsing a new query and hence visualizing a new plan,
if the visualizer succeeds then hide the relational plan and show the
physical plan.
editor: rerender after collapsing/decollapsing tabs

So the physical plan comes out the right size
editor: update query results tab

1. Display all the results in a table instead of a pre.
2. Show times using the cool abbr.timeago as shown in datasets and queries tabs
3. If the query is profiled, add a link to the data once the query succeeds.
4. If the query fails, add a pre with the error message once the query fails.
editor: make elements divs instead of ps

Also refactor the pre creation for errors. I think that method doesn't work.
Merge branch 'master' into editor-query-view-improvements
editor.js: move templates to global templates var
Merge pull request #149 from uwescience/editor-query-view-improvements

Editor query view improvements