Allow custom renderers to be set on a tour-by-tour basis. Add sinon.js to the testing toolkit.
Add unit tests and fix issues in code so all unit tests pass as expected.