Added simple validation
Moved stylesheets to an external file (so we have the layout in tests and sample)
Add error CSS classes if validation failed
Updated test helpers to make them clearer
Also apply jshint on test files