Editor query view improvements

1. Display all the results in a table instead of a pre.
    ![screen shot 2014-06-18 at 6 40 30 pm](https://cloud.githubusercontent.com/assets/526415/3322892/6c89e9a8-f754-11e3-8933-ff533e18f1b9.png)
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.
    ![screen shot 2014-06-18 at 6 40 41 pm](https://cloud.githubusercontent.com/assets/526415/3322897/78a0043e-f754-11e3-8609-dfce9b530ad8.png)
4. If the query fails, add a pre with the error message once the query fails.
    ![screen shot 2014-06-18 at 6 41 06 pm](https://cloud.githubusercontent.com/assets/526415/3322900/815299d4-f754-11e3-9537-4a58b09917d0.png)


@domoritz shall we make myria-web wide shared template then?
 I think the visual effect of this line is very similar to
https://github.com/uwescience/myria-web/blob/master/appengine/js/queryvis.js#L55