Throw exception instead of returning EmptyObject.

Close #131.
Merge branch '131-TemplateMissing' into daily
Merge branch 'daily' of github.com:g105b/PHP.Gt into daily