Add some simple compile tests and fix to use a double quoted template value in a tag attribute

Hi,

I wrote some codes to allow to use a double quoted template value in a double quoted tag attribute. Here is the example

```
div class="dialog {{ if eq .Attr "important" }}color-red text-big{{end}}" text
```

Without my fix, it doesn't work. Of course, instead of it,

```
div class="dialog {{ if eq .Attr `important` }}color-red text-big{{end}}" text
```

works but I think it is straightforward allowing both a double quote and a backtick quote in an attribute.

Before fixing this, not to break current behavior, I added simple compile tests to check whether the compiler returns expected values. Those mightn't be perfect so please be careful to merge this.
@yosssi I leaned it from http://golang.org/pkg/text/template/#Template and http://golang.org/pkg/text/template/parse/#Tree when I tried to rewrite my go standard template into Ace for testing my code for Hugo and its functionality. I didn't know there is `text/template/parse` package document. I learned many from it.