[webui] fix test cases

- take out some more caching (for now, to be readded in the models where
  it's sane)
- fix flags validation
- redo the travis split

(and due to rubymine insisting replace "" with '' where no escaping is
necessary)