TextMate compatibility fix. When writing to stderr, linebreaks is not correctly interpreted by TM, so we direct the logging to stdout when running from within TextMate.
TextMate compatibility fix. When writing to stderr, linebreaks is not correctly interpreted by TM, so we direct the logging to stdout when running from within TextMate.

git-svn-id: 66c9d2e7eef02a265c1cd8deab55ea7ccdf88d7e@195 9b4f6404-e40b-0410-ad9e-9008e25ae5f1

rsms/phpab,rsms/phpab,rsms/phpab