Properly unfold message-id header value

* elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Properly
unfold message-id header value.

Problem reported and patch suggested by Donal Bashford in
<mid:rfwmx62teq6.wl%Don.Bashford@stjude.org>.
Get unfolded message-id header field value.

* wl-draft.el (wl-draft-forward, wl-draft-reply)
(wl-draft-add-in-reply-to, wl-draft-send-mail-with-qmail)
(wl-draft-send-mail-with-smtp, wl-draft-send-mail-with-sendmail)
(wl-draft-dispatch-message, wl-draft-do-fcc)
(wl-draft-elmo-nntp-send, wl-draft-queue-append): Use
`elmo-msgdb-get-message-id-from-buffer' to get unfolded message-id
header field value.

Problem reported by Donald Bashford in
<mid:rfwhatmhqxt.wl%Don.Bashford@stjude.org>>, based on patch
suggested by Kazuhiro Ito in
<mid:20120706133200.058FC2C803A@msa105.auone-net.jp>.
Revert "Get unfolded message-id header field value."

This reverts commit 385013398b2a0713dc66e38ae43814cd16c15f9b.
Revert "Properly unfold message-id header value"

This reverts commit 0393a81b5b984687a16697c7da540c3024992e11.
Ensure buffer narrowed to header and rename functions accordingly

* elmo-util.el (elmo-msgdb-get-message-id-from-header): New function.
(elmo-msgdb-get-message-id-from-buffer): Use it.
* modb-entity.el (elmo-msgdb-create-message-entity-from-header):
Likewise.
* elmo-util.el (elmo-msgdb-get-references-from-header): Renamed from
elmo-msgdb-get-references-from-buffer.
* elmo-shimbun.el (elmo-shimbun-update-overview): Likewise.
* modb-entity.el (elmo-msgdb-create-message-entity-from-header):
Likewise.
* modb-entity.el (elmo-msgdb-create-message-entity-from-header):
Rnamed from elmo-msgdb-create-message-entity-from-buffer.
(elmo-msgdb-create-message-entity-from-file): Likewise.
* elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Likewise.
* elmo-imap4.el (elmo-imap4-fetch-callback-1): Likewise.
* elmo-nntp.el (elmo-nntp-msgdb-create-message): Likewise.
* elmo-pop3.el (elmo-pop3-msgdb-create-message): Likewise.
* elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Likewise.
* elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Do not assume
buffer is narrowed to header.
* elmo-util.el (elmo-decoded-fetch-field): Renamed from
elmo-decoded-field-body.  elmo-decoded-fetch-field is obsolete.
* elmo-spam.el (elmo-spam-buffer-spam-p)
(elmo-spam-message-spam-p): Likewise.
* modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
Likewise.
* elmo-util.el (elmo-unfold-fetch-field): Renamed from
elmo-unfold-field-body.  elmo-unfold-field-body is obsolete.
(elmo-msgdb-get-message-id-from-buffer): Likewise.
* elmo-util.el (elmo-field-body): Obsolete.  Remove eval-and-compile.
Do not care of std11-fetch-field's availability.
(elmo-unfold-field-body, elmo-decoded-field-body)
(elmo-msgdb-get-message-id-from-buffer)
(elmo-msgdb-get-references-from-buffer): Call std11-fetch-field
directly.
* modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
Likewise.
* wl-draft.el (wl-draft-self-reply-p): Do not assume buffer is
narrowed to header.
* wl-draft.el (wl-draft-self-reply-p): Call std11-fetch-field
directly.
Declare unfold-field-body and decoded-field-body obsolete.

* elmo-util.el (elmo-unfold-field-body, elmo-decoded-field-body):
Declare obsolete.
Declare edebug spec to aid macro debugging

* wl-draft.el (wl-smtp-extension-bind): Declare edebug spec to aid
macro debugging.
Fix wl/ChangeLog

Contained two entries from a development branch.
Merge remote branch 'dmj/t/elmo-get-message-id' into t/pull-elmo-get-message-id

Conflicts:
	wl/ChangeLog
Merged from my local repository
Enable scroll by SPC on preview
Build search string out of loop
Added support for sending mail with sendmail package
Update NEWS.ja
Fix Emacs24 toolbar problem
Update ML's addresses
Replaced texinfo with 2010-05.22.17 modified version by Shoichi Fukusaka.
* wl-summary.el (wl-summary-target-mark-operation): Use wl-summary-set-persistent-mark-internal.
elmo-nntp.el (elmo-folder-initialize): Do not modify elmo-network-stream-type-alist.
elmo-network-stream-type-from-symbol is removed