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)


Any particular reason for changes like this line?
The space after function is not recommended and also not consistent with other js source code in myria-web.
https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml