Query history / datatables improvements (look, functionality)

* new column resize plugin
* better look for datatable page navigation buttons
* some template bug fixing
* don't save queries when run from history
* datatables 1.9.4