Added title to Application View table and details panel.

Change-Id: Id225c3b315a0fd96dfad1e44138551f131bc54df
diff --git a/web/gui/src/main/webapp/app/view/app/app.js b/web/gui/src/main/webapp/app/view/app/app.js
index a297bcb..1f1078b 100644
--- a/web/gui/src/main/webapp/app/view/app/app.js
+++ b/web/gui/src/main/webapp/app/view/app/app.js
@@ -108,6 +108,7 @@
             }
         }
 
+        ndiv('app-title');
         ndiv('left app-icon');
         ndiv('right', 'app-props');
         ndiv('app-url');
@@ -156,6 +157,8 @@
         var propsBody = top.select('.app-props').append('tbody'),
             url = details.url;
 
+        top.select('.app-title').text(details.title);
+
         addIcon(top.select('.app-icon'), details.id);
 
         propOrder.forEach(function (prop, i) {
@@ -263,7 +266,7 @@
             sortParams: {
                 firstCol: 'state',
                 firstDir: 'desc',
-                secondCol: 'id',
+                secondCol: 'title',
                 secondDir: 'asc'
             }
         });