test driven TemplateParser
implement TemplateParser
replace body of Template.evalute() with TemplateParser()
refactoring Template() to keep proper abstraction levels
refactoring Segment to Polymorphism.
Be careful that __eq__ and __ne__ are seperate handlers, it's better to override them both.