Fix sample sample/Hakoiri-Musume on ruby-2.x

- add missing framework linking.
- add magic-comment for source code encoding.
- use $KCODE only ruby-1.8.

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2592 f4f36d40-9719-0410-9868-dde021a23eda