Get the views stuff out of the main Jenkins unittest. It will be added to it's own test-suite.
Significant refactor of views - still need to write documentation & examples