Refactor blocks, inlines and sub-parsers into separate classes
Fix advance-by-zero bug
Optimize string escaping (~32% boost)

str_replace is much faster than strtr apparently
Append to existing Text inlines unless it's a possible delimiter (~45% boost)
Small performance tweaks
Optimize the advance() method(s)
Fix pass-by-reference error
Merge pull request #18 from thephpleague/refactor

Refactor to reduce coupling and complexity