Added TemplateParseError exception class.
Removed the 'parser_error' function in favor of errors.TemplateParseError.
Corrected a bug in inline comment parsing which made the parser unable to find end tags for blocks that span inline comments.