tree.toCSS may throw exception, which is not emitted

`tree.toCSS` throws exception on less syntax error.
Imo, better to use `less.render` instead of `parser.parse`. Render uses parser internally and handles all errors. Added test case.