Improved Parser (#2)

This one should pass all tests but one - the one with multiline title. The old one actually doesn't parse multiline titles (this one does, this is why the test fails :)