More robust split_log method for mercurial

Previous method failed if a blank line was contained in the commit message. This method still fails if the following is include in the commit message:

  [BLANKLINE]
  changeset: 123:

where 123 can be any number and [BLANKLINE] is a blank line