Fix problem with account selector

When sending a message, the account selector was ignoring
the account set by the before-edit hook.  Fix this
by running the hook before setting up the account selector.
Merge #16: Fix YAML regression in 1.9

Squashed commit of the following:

commit a26b99c64e2da4115ea47606ae8b66f0b008b002
Author: Whyme Lyu <callme5long@gmail.com>
Date:   Tue Mar 26 23:03:50 2013 +0800

    Ensure Syck is used.

    In the long run we'd better drop Syck in favor of Psych

commit a99a2b244063c2088d91688f667ee68f05f24df0
Author: Whyme Lyu <callme5long@gmail.com>
Date:   Tue Mar 26 23:03:25 2013 +0800

    A regression test for YAMLing in 1.9
Merge branch 'develop' into rmail-to-mail-remove-iconv-ruby-2-comp

Conflicts:
	lib/sup.rb
Revert "Merge #16: Fix YAML regression in 1.9"

This reverts commit ac82b2890971323ec4220aad429f1240745cfe80.