[WIP] File list as JSON / with Ajax + lots of JS unit tests

:no_entry_sign: :construction:  don't merge, work in progress

- ajaxification of the UI, getting rid of the tbody part of the file list templates
- added lots of JS unit tests for the FileList class

Please ignore the failing unit tests: WIP, TODOs