Adding item sorting and knockout for chats

The chats are now templated and loaded with Knockout.JS.  More styling
will come later.

All items in lists are sortable now.