Table improvements

this superseeds #197 and must be merged synchronously with the corresponding opm-core PR...