Add support for yml testing.

The yml files are describing the view, the different parameters, and some states. Those states
are used in the test framework to make sure: the view can be created and the default javascript
behavior are available under all conditions (unless specified as otherwise.)