jQuery dataTable templates and ordering

* Each field in the dataTable can have unique HTML template. Defined in model.
* Table sorting works.
* Fixed typo