add tests to samples
add more tests to samples

fix #293
close #301
fix #293 SVG sample broken on playground

Close #303
fix #154 SVG attributes syntax

Close #291
refactor: compiler tests

to be more readable and easier to debug
refactor: remove trailing spaces in peg file
feat(syntax) mandatory `<script>` tag for JS content
feat(syntax) enable top-level HTML comments

Now it's possible to have top-level HTML-style comments in the hsp file:

```
<!--
this is
a comment
-->
```

They're emitted at parse time, and discarded at syntax generation time
(replaced with newlines, to keep the 1:1 line mapping between input and
generated file, we may change that in the future).