Make instances list sortable by coulumns

This PR makes the instances list sortable by columns using jquery.

By default instances are sorted by status and then name.
![screen shot 2014-09-26 at 17 45 05](https://cloud.githubusercontent.com/assets/1818657/4423350/259d122a-4594-11e4-823b-55f60719972b.png)