Add tests for PPI::Token::HereDoc->heredoc().
Fix detection of the terminator in HereDoc blocks.