[strict] Throw error when braces are not balanced.

ref: #21
[strict] Throw error when invalid tag title comes

ref #21
Add test cases that is noted on the issue #21.

ref #21
Merge branch 'strict'