Fix build failure of sample/MakefileApp, MakefileApp2 on OS X 10.9

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2594 f4f36d40-9719-0410-9868-dde021a23eda
Fix build failure of sample/MultiNib on OS X 10.9

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2595 f4f36d40-9719-0410-9868-dde021a23eda
Fix MyViewer.app do not launch

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2596 f4f36d40-9719-0410-9868-dde021a23eda
Fix syntax error and IRB initialization on ruby-2.x

- fix syntax error on ruby-2.x
- fix missing initialization with IRB.init_config()

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2597 f4f36d40-9719-0410-9868-dde021a23eda
Fix syntax error of sample/RubyRocks on ruby-2.x

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2598 f4f36d40-9719-0410-9868-dde021a23eda
Add missing `#import <AppKit/NSApplication.h>` in main.m

suppress the following warning.

    .../main.m:14:12: warning: implicit
	  declaration of function 'NSApplicationMain' is invalid in C99
	  [-Wimplicit-function-declaration]
	return NSApplicationMain(argc, (const char **)argv);

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