Allow overriding MarkupWriter implementation

It's a temporary workaround for a particular problem and using
or extending MarkupWriter API is not recommended as it's likely
replaced with a more consistent markup generating API(see #27).