added fix for issue #94 for horizontal rules, tables and typed block

I just fixed those 3 as all the other rules seem to be unaffected by a missing newline.

May I note that it seems that the rules are a bit inconsistent?

I can elaborate on that, but I think we should check all of them and think about changing something. In most cases where we have now \r?(?:\n|$) I think a simple $ should be sufficient. except of course, that the newline wouldn't be "eaten".