ring queue backport from resin7

git-svn-id: svn://svn.caucho.com/home/svn/svnroot/resin/trunk@10015 9c94448d-38f1-0310-a231-d98308ff1ebf
quercus static::$foo fix for parent::fun() calls

git-svn-id: svn://svn.caucho.com/home/svn/svnroot/resin/trunk@10016 9c94448d-38f1-0310-a231-d98308ff1ebf