Progress on client tests

- improve Form Runner API
- mixin client tests into ClientTest
- xforms.js: move case handling to separate functions
- add classes on wizard