Experimental CustomTableModel

Marco, you may have a look at this and be prepared for when you will come on Tuesday. This works only if you use the branch refactor-tables in oq-nrmllib. This is very rough and will need a lot of work, but at least you can have an idea of the direction I want to go (i.e. use Qt table models).